Fix the visibility in CropScene
This commit is contained in:
parent
7f9db557f9
commit
be68aa1f5b
@ -1 +0,0 @@
|
|||||||
bt
|
|
@ -162,7 +162,6 @@ void CropScene::setVisible(bool visible) {
|
|||||||
for (auto view : views()) {
|
for (auto view : views()) {
|
||||||
if (view->isVisible()) fullscreen |= view->isFullScreen();
|
if (view->isVisible()) fullscreen |= view->isFullScreen();
|
||||||
view->setVisible(visible);
|
view->setVisible(visible);
|
||||||
if (fullscreen) view->showFullScreen();
|
|
||||||
if (visible) {
|
if (visible) {
|
||||||
view->resize(_pixmap.width(), _pixmap.height());
|
view->resize(_pixmap.width(), _pixmap.height());
|
||||||
view->setMinimumSize(_pixmap.size());
|
view->setMinimumSize(_pixmap.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user