Voltaire // +showPageButtonsInCandidateWindow

This commit is contained in:
ShikiSuen 2022-03-04 21:08:58 +08:00
parent 78c53353c8
commit 07c277d03a
2 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ extension HorizontalCandidateController {
frameRect.size = newSize
candidateView.frame = frameRect
if pageCount > 1 {
if pageCount > 1 && Preferences.showPageButtonsInCandidateWindow {
var buttonRect = nextPageButton.frame
let spacing:CGFloat = 0.0

View File

@ -349,7 +349,7 @@ extension VerticalCandidateController {
frameRect.size = newSize
candidateView.frame = frameRect
if pageCount > 1 {
if pageCount > 1 && Preferences.showPageButtonsInCandidateWindow {
var buttonRect = nextPageButton.frame
let spacing:CGFloat = 0.0