Diffusion Krita 81522cb6da55

Move setMask() calls from paintEvent() to resizeEvent().

Authored by mwein on Aug 25 2019, 6:31 PM.

Description

Move setMask() calls from paintEvent() to resizeEvent().

Mask doesn't change otherwise, and it might even be too late to
apply it without some duplicate rendering.

Also set border width before resize to not force double repaint for
correct rendering, and don't mimic resize by forcing min/max values.

Details

Committed
mweinAug 30 2019, 2:55 AM
Parents
R37:8a00eaec2356: Don't call this->show() in a constructor.
Branches
Unknown
Tags
Unknown