Moritz Post01/20/2022, 12:12 PM
composable in my compose desktop app. I have found that the
method is called multiple times although the size of the canvas has not canged. This leads to jank since the drawing is quite intensive. Next to the canvas i have a couple of items that are clickable() so they show hoover feedback for the mouse cursor. Even just hoovering over these unrelated items triggers a redraw of the canvas. Is there a way to circumvent this redrawing?
Zach Klippenstein (he/him) [MOD]01/20/2022, 2:33 PM
Moritz Post01/20/2022, 2:33 PM
Zach Klippenstein (he/him) [MOD]01/20/2022, 2:35 PM
modifier on your Canvas.
Moritz Post01/20/2022, 2:36 PM
Kebbin01/27/2022, 2:49 AM
modifier to make it work? The hover state animations?