Fix display issue

This commit is contained in:
Joachim LF
2021-01-22 17:56:58 +01:00
parent 134f1da4b0
commit 917e753426
3 changed files with 4 additions and 4 deletions

View File

@@ -387,8 +387,8 @@ OnBoarding::PromptController * AppsContainer::promptController() {
return &m_promptController;
}
void AppsContainer::redrawWindow() {
m_window.redraw();
void AppsContainer::redrawWindow(bool force) {
m_window.redraw(force);
}
void AppsContainer::activateExamMode(GlobalPreferences::ExamMode examMode) {

View File

@@ -48,7 +48,7 @@ public:
void shutdownDueToLowBattery();
void setShiftAlphaStatus(Ion::Events::ShiftAlphaStatus newStatus);
OnBoarding::PromptController * promptController();
void redrawWindow();
void redrawWindow(bool force = false);
void activateExamMode(GlobalPreferences::ExamMode examMode);
// Exam pop-up controller delegate
void examDeactivatingPopUpIsDismissed() override;

View File

@@ -63,7 +63,7 @@ bool AccessibilityController::handleEvent(Ion::Events::Event event) {
KDIonContext::sharedContext()->gamma.setGamma(redGamma, greenGamma, blueGamma);
KDIonContext::sharedContext()->updatePostProcessingEffects();
m_selectableTableView.reloadCellAtLocation(m_selectableTableView.selectedColumn(), m_selectableTableView.selectedRow());
AppsContainer::sharedAppsContainer()->redrawWindow();
AppsContainer::sharedAppsContainer()->redrawWindow(true);
return true;
}