mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-24 07:43:44 +02:00
Fix a mistake in the previous commit
This commit is contained in:
parent
a72f695f1c
commit
db0934e308
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ void Viewport::sandbox_deserialize_end()
|
||||||
if (p->rect != nullptr) {
|
if (p->rect != nullptr) {
|
||||||
p->rectCon = p->rect->valueChanged.connect(&ViewportPrivate::onRectChange, p);
|
p->rectCon = p->rect->valueChanged.connect(&ViewportPrivate::onRectChange, p);
|
||||||
if (*p->rect != p->deserSavedRect) {
|
if (*p->rect != p->deserSavedRect) {
|
||||||
geometry.rect.setSize(p->rect->toIntRect().size());
|
geometry.rect = p->rect->toIntRect();
|
||||||
p->deserGeometryChanged = true;
|
p->deserGeometryChanged = true;
|
||||||
p->deserScreenRectChanged = true;
|
p->deserScreenRectChanged = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue