mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 16:45:33 +00:00
Prevent empty right page of journal having invisible topics (Fixes #5588)
This commit is contained in:
parent
21fa55de8e
commit
845049a166
2 changed files with 13 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
Bug #5539: Window resize breaks when going from a lower resolution to full screen resolution
|
||||
Bug #5548: Certain exhausted topics can be highlighted again even though there's no new dialogue
|
||||
Bug #5557: Diagonal movement is noticeably slower with analogue stick
|
||||
Bug #5588: Randomly clicking on the journal's right-side page when it's empty shows random topics
|
||||
Bug #5603: Setting constant effect cast style doesn't correct effects view
|
||||
Bug #5611: Usable items with "0 Uses" should be used only once
|
||||
Feature #390: 3rd person look "over the shoulder"
|
||||
|
|
|
@ -941,6 +941,9 @@ public:
|
|||
if (!mBook)
|
||||
return;
|
||||
|
||||
if (mPage >= mBook->mPages.size())
|
||||
return;
|
||||
|
||||
dirtyFocusItem ();
|
||||
|
||||
mFocusItem = 0;
|
||||
|
@ -952,6 +955,9 @@ public:
|
|||
if (!mBook)
|
||||
return;
|
||||
|
||||
if (mPage >= mBook->mPages.size())
|
||||
return;
|
||||
|
||||
left -= mCroppedParent->getAbsoluteLeft ();
|
||||
top -= mCroppedParent->getAbsoluteTop ();
|
||||
|
||||
|
@ -988,6 +994,9 @@ public:
|
|||
if (!mBook)
|
||||
return;
|
||||
|
||||
if (mPage >= mBook->mPages.size())
|
||||
return;
|
||||
|
||||
// work around inconsistency in MyGUI where the mouse press coordinates aren't
|
||||
// transformed by the current Layer (even though mouse *move* events are).
|
||||
MyGUI::IntPoint pos (left, top);
|
||||
|
@ -1013,6 +1022,9 @@ public:
|
|||
if (!mBook)
|
||||
return;
|
||||
|
||||
if (mPage >= mBook->mPages.size())
|
||||
return;
|
||||
|
||||
// work around inconsistency in MyGUI where the mouse release coordinates aren't
|
||||
// transformed by the current Layer (even though mouse *move* events are).
|
||||
MyGUI::IntPoint pos (left, top);
|
||||
|
|
Loading…
Reference in a new issue