Cosmos icon indicating copy to clipboard operation
Cosmos copied to clipboard

Bug! the canvas doesen't work

Open Samma2009 opened this issue 2 years ago • 3 comments

also with the right code the canvas of cosmos 20220209 does not work

Samma2009 avatar May 11 '22 19:05 Samma2009

We can't help you if you don't explain further, give the error, and the code.

selkij avatar May 11 '22 19:05 selkij

canvas in new userkit uses double buffering. it means that there are two screens. first is your workspace, second is what user see. when you draw something it draws to first screen. you need to swap them. then user sees the picture. use canvas Display method

AsertCreator avatar May 15 '22 00:05 AsertCreator

@AsertCreator not all the canvas backends use double buffering.

zarlo avatar May 15 '22 08:05 zarlo