vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Sketch doesn't resize properly after class redefinition #60

Closed Gleefre closed 1 year ago

Gleefre commented 1 year ago

Hello,

If you try to redefine sketch which was either created with different from default size, or if you redefine size itself, it will stop rendering properly.

(Example: redefined from (width 400) to (width 800)) before-redefine after-redefine

Adding method for window-event :resize as in https://github.com/vydd/sketch/issues/59 fixes this problem.