summaryrefslogtreecommitdiff
path: root/scene/main/canvas_layer.h
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-09 23:14:46 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-10 00:25:45 +0100
commitd249370cd7710a927c159e8ff9d60fabf4907792 (patch)
tree37df9e19e6cb6f0164a122c9fc53a6d3abe6c1ad /scene/main/canvas_layer.h
parent5c1295dc20323ee1596369b5bcf91ba6a9383336 (diff)
Fix crash in editor when setting `SubViewport.size` to zero
`Viewport::_set_size` now verifies, that the minimum size is at least 2x2. Also fix `RendererViewport::viewport_set_size` fail condition.
Diffstat (limited to 'scene/main/canvas_layer.h')
0 files changed, 0 insertions, 0 deletions