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

Commit d82a5f6

Browse files
committed
Merge remote-tracking branch 'origin/develop-8.1' into merge-develop-8.1-28.03.2018
2 parents 26c8a63 + dd4ea5d commit d82a5f6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Toolset/palettes/dictionary/behaviors/revdictionarybehavior.livecodescript

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
script "revDictionaryBehavior"
1+
script "revDictionaryBehavior" with behavior "revPaletteBehavior"
22
-- The dictionary starts to hide elements at lower than 992 pixels
33
-- *TODO* Tweak the CSS to rearrange things appropriately
44
constant kDictionaryMinWidth = 992
@@ -93,5 +93,11 @@ end showUpgradeOptions
9393

9494
# bug 17819 enable cmd+c in dictionary
9595
on commandKeyDown pWhich
96-
if pWhich is not "C" then pass commandKeyDown
96+
if pWhich is not "C" then
97+
if pWhich is "W" then
98+
close me
99+
else
100+
pass commandKeyDown
101+
end if
102+
end if
97103
end commandKeyDown

notes/bugfix-20647.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Ensure Dictionary responds to cmd+W shortcut

0 commit comments

Comments
 (0)