Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit fe45543

Browse files
authored
Merge pull request #1601 from livecode/bugfix-18685
[Bug 18685] Remember last position of revMenubar
2 parents 94b48d0 + 5da72c7 commit fe45543

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Toolset/palettes/menubar/revmenubar.livecodescript

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on preOpenStack
1515
revMenubarBuildMenus
1616
updateMenubarPreference
1717
layoutMenu
18+
revIDEPositionPalette the short name of me
1819
# Since the menubar is topleveled on Linux and Windows, set the cantModify to true
1920
# to prevent users being able to alter the menubar stack.
2021
set the cantModify of me to true
@@ -216,6 +217,7 @@ on moveStack
216217
put revIDEStackScreenRect(the short name of this stack, true) into tScreenRect
217218
set the topLeft of this stack to item 1 to 2 of tScreenRect
218219
end if
220+
revIDESetPaletteRectPreference the short name of me
219221
pass moveStack
220222
end moveStack
221223

notes/bugfix-18685.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Remember the last position of menubar on Windows and Linux

0 commit comments

Comments
 (0)