Moritz Post
01/20/2022, 11:52 AMCanvas
composable in my compose desktop app. I have found that the Canvas.onDraw
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?Tgo1014
01/20/2022, 12:11 PMMoritz Post
01/20/2022, 12:12 PMTgo1014
01/20/2022, 12:13 PMMoritz Post
01/20/2022, 12:14 PM