fix(renderer): optimize scale factor modification logic in G2DBaseControlImpl
This commit is contained in:
@@ -168,7 +168,7 @@ public abstract class G2DBaseControlImpl implements BaseControl {
|
||||
}
|
||||
|
||||
public G2DBaseControlImpl setScaleFactor(final double scaleFactor) {
|
||||
this.modified = this.scaleFactor != scaleFactor;
|
||||
this.modified |= this.scaleFactor != scaleFactor;
|
||||
this.scaleFactor = scaleFactor;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user