Voltaire // +showPageButtonsInCandidateWindow

This commit is contained in:
ShikiSuen 2022-03-04 21:08:58 +08:00
parent ebce0aa099
commit 76c1aa4878
2 changed files with 2 additions and 2 deletions

View File

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

View File

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