mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[WIP] Fix settings
This commit is contained in:
@@ -8,7 +8,7 @@ void CellWithSeparator::setHighlighted(bool highlight) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CellWithSeparator::drawRect(KDContext * ctx, KDRect rect) const {
|
void CellWithSeparator::drawRect(KDContext * ctx, KDRect rect) const {
|
||||||
ctx->fillRect(KDRect(0, Metric::CellSeparatorThickness, bounds().width(), k_margin), Palette::WallScreen);
|
ctx->fillRect(KDRect(0, Metric::CellSeparatorThickness, bounds().width(), k_margin), Palette::BackgroundApps);
|
||||||
}
|
}
|
||||||
|
|
||||||
int CellWithSeparator::numberOfSubviews() const {
|
int CellWithSeparator::numberOfSubviews() const {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ ExamModeController::ExamModeController(Responder * parentResponder) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool ExamModeController::handleEvent(Ion::Events::Event event) {
|
bool ExamModeController::handleEvent(Ion::Events::Event event) {
|
||||||
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
|
if (event == Ion::Events::OK || event == Ion::Events::EXE || event == Ion::Events::Right) {
|
||||||
if (m_messageTreeModel->children(selectedRow())->label() == I18n::Message::LEDColor) {
|
if (m_messageTreeModel->children(selectedRow())->label() == I18n::Message::LEDColor) {
|
||||||
(&m_ledController)->setMessageTreeModel(m_messageTreeModel->children(selectedRow()));
|
(&m_ledController)->setMessageTreeModel(m_messageTreeModel->children(selectedRow()));
|
||||||
StackViewController * stack = stackController();
|
StackViewController * stack = stackController();
|
||||||
|
|||||||
Reference in New Issue
Block a user