pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

Blittering in jupyter renderer

Open tpaviot opened this issue 6 years ago • 2 comments

When a shape is clicked in jupyter, it gets selected and its color is set to yellow. I noticed a blittering on Chrome/Windows, shape color changes from gray to yellow at least two times.

tpaviot avatar Dec 07 '19 15:12 tpaviot

Same thing on FF/Win

tpaviot avatar Dec 07 '19 15:12 tpaviot

hi @tpaviot this might be due to how event handling in the traits library is handled for every time a property is updated, the state is changed from js -> python, and its easy to get a situation where a redraw event is invoked

jf--- avatar Dec 10 '19 13:12 jf---