GUI: don't redraw instantly on scaling point thickness
It broke performance.
This commit is contained in:
parent
e91fb6cd1e
commit
393d37d1a9
@ -120,7 +120,6 @@ makeGUI startFile = do
|
|||||||
_ <- on (cB mygui) changed (drawDiag mygui)
|
_ <- on (cB mygui) changed (drawDiag mygui)
|
||||||
_ <- on (gC mygui) toggled (drawDiag mygui)
|
_ <- on (gC mygui) toggled (drawDiag mygui)
|
||||||
_ <- on (cC mygui) toggled (drawDiag mygui)
|
_ <- on (cC mygui) toggled (drawDiag mygui)
|
||||||
_ <- on (hs mygui) valueChanged (drawDiag mygui)
|
|
||||||
|
|
||||||
-- hotkeys
|
-- hotkeys
|
||||||
_ <- win mygui `on` keyPressEvent $ tryEvent $ do
|
_ <- win mygui `on` keyPressEvent $ tryEvent $ do
|
||||||
|
Loading…
Reference in New Issue
Block a user