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

Commit bf7558c

Browse files
Merge pull request #1811 from livecode/hide_rulers_properly
Do not palete revRulers if not necessary
2 parents 808c292 + 424ef9a commit bf7558c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Toolset/libraries/revrulersscriptlibrary.livecodescript

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,9 @@ on resumeStack
9292
pass resumeStack
9393
else
9494
put false into lPaused
95-
if not the visible of stack "revRulersH" then
95+
if not the visible of stack "revRulersH" and "revRulersH" is among the lines of the openstacks then
9696
show stack "revRulersH"
9797
show stack "revRulersV"
98-
else
99-
palette "revRulersV"
100-
palette "revRulersH"
10198
end if
10299
revPartCalculateRulers
103100
unlock messages

0 commit comments

Comments
 (0)