libgimpwidgets: Avoid updating the rulers too often.
Ever since 72617e42, whenever the user generated a lot of mouse input, we would constantly queue redraws to the rulers. These redraws had a higher idle priority than updating the canvas, so we would rarely get around to canvas updates, which made certain tools (painting with dynamics, the blend tool) feel very unresponsive. This fixes it by only redrawing the rulers if the mouse has moved far from the last location, or if there are no idle handlers with a priority above LOW.
parent
a7e7a0bc
Please register or sign in to comment