27 Jul
2010
27 Jul
'10
5:07 p.m.
2010/7/27 Krzysztof KosiĆski <tweenk.pl@...400...>:
The easiest fix is to set the sliders to Gtk::UPDATE_DISCONTINUOUS update policy, but this will prevent the display from updating during the drag. Apparently there is no way in GTK right now to get the correct behavior!
There is. See how the color sliders in Fill&Stroke deal with this. They also update repr continuously during drag, which enables live display update, but all these updates are committed with the same undo key. As a result, when you undo, the entire drag is undone. Once you release, the key is flipped to another value so the next drag is not lumped together with previous one.
--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org