Skip to content

Commit

Permalink
Fix drawing math accents
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Feb 5, 2024
1 parent ed1bcbb commit 20723cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MATHPlugin.glyphsPlugin/Contents/Resources/plugin.py
Expand Up @@ -1187,7 +1187,7 @@ def drawAccent(layer, anchor):
constants = master.userData.get(CONSTANTS_ID, {})
accentBase = constants.get("AccentBaseHeight", master.xHeight)

height = layer.bounds.size.height
height = layer.bounds.origin.y + layer.bounds.size.height
dy = height - min(height, accentBase)

AppKit.NSColor.colorWithDeviceWhite_alpha_(0, 0.2).set()
Expand Down

0 comments on commit 20723cc

Please sign in to comment.