minesweeper: better fix for hand click.

windows-high-dpi
John Benediktsson 2018-02-16 15:48:36 -08:00
parent 0d878f2873
commit 88d2fdb7ac
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,8 @@ M: grid-gadget pref-dim*
gadget pref-dim first :> width
width 2/ 26 - 3 2array [
gadget cells>> [ won? ] [ lost? ] bi
gadget hand-click-rel [ second 58 >= ] [ f ] if*
hand-buttons get-global empty? not
gadget hand-click-rel [ second 58 >= ] [ f ] if* and
smiley-image-path gadget draw-cached-texture
] with-translation ;