Commit 3ff01856 authored by Sebastian Kügler's avatar Sebastian Kügler

Also copy scale in Output::apply()

This method is used to sync two outputs, previously, scale wasn't synced, now it is.
parent dc8c17e7
......@@ -527,6 +527,10 @@ void Output::apply(const OutputPtr& other)
changes << &Output::rotationChanged;
setRotation(other->d->rotation);
}
if (d->scale != other->d->scale) {
changes << &Output::scaleChanged;
setScale(other->d->scale);
}
if (d->currentMode != other->d->currentMode) {
changes << &Output::currentModeIdChanged;
setCurrentModeId(other->d->currentMode);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment