diff options
author | Norbert Preining <norbert@preining.info> | 2022-09-18 03:08:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-09-18 03:08:21 +0000 |
commit | baa3e10650110291de10e0e8e6a1e48ac4579afe (patch) | |
tree | 8eff974515ba91e538c94002db56558182e59a4e /graphics/asymptote/GUI/xasyBezierInterface.py | |
parent | 9ae94dce28ea17b97ef24019e324353cd6af4dba (diff) |
CTAN sync 202209180308
Diffstat (limited to 'graphics/asymptote/GUI/xasyBezierInterface.py')
-rw-r--r-- | graphics/asymptote/GUI/xasyBezierInterface.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/graphics/asymptote/GUI/xasyBezierInterface.py b/graphics/asymptote/GUI/xasyBezierInterface.py index d8792d421e..abe8d9b0ea 100644 --- a/graphics/asymptote/GUI/xasyBezierInterface.py +++ b/graphics/asymptote/GUI/xasyBezierInterface.py @@ -51,13 +51,7 @@ class InteractiveBezierEditor(InplaceAddObj.InplaceObjProcess): self.prospectiveCtrlPts = [] #The magnification isn't being set. Here I'm manually setting it to be the square root of the determinant. - self.info['magnification'] = math.sqrt(self.transf.xx * self.transf.yy - self.transf.xy * self.transf.yx) - self.parent = parent - if isinstance(obj,xasy2asy.xasyFilledShape) or isinstance(obj,xasy2asy.xasyShape): - parent.ui.btnFill.setChecked(obj.path.fill) - - def swapObjFill(self): - self.obj.swapFill() #This may end up being more in the future + self.info['magnification'] = math.sqrt(abs(self.transf.xx * self.transf.yy - self.transf.xy * self.transf.yx)) def setSelectionBoundaries(self): self.nodeSelRects = self.handleNodeSelectionBounds() |