aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/interface.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 52ed2e6567..4018c070fa 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1627,12 +1627,21 @@ void Interface::update(const Point& mousePoint, int updateFlag) {
break;
case kPanelChapterSelection:
- // TODO: panel has silent button
if (updateFlag & UPDATE_MOUSEMOVE) {
handleChapterSelectionUpdate(mousePoint);
} else {
- if (updateFlag & UPDATE_MOUSECLICK)
- handleChapterSelectionClick(mousePoint);
+ if (updateFlag & UPDATE_MOUSECLICK) {
+ Rect rect;
+ rect.left = _vm->getDisplayInfo().saveReminderXOffset;
+ rect.top = _vm->getDisplayInfo().saveReminderYOffset;
+
+ rect.right = rect.left + _vm->getDisplayInfo().saveReminderWidth;
+ rect.bottom = rect.top + _vm->getDisplayInfo().saveReminderHeight;
+ if (rect.contains(mousePoint))
+ setMode(kPanelOption);
+ else
+ handleChapterSelectionClick(mousePoint);
+ }
}
break;