Skip to content

Commit

Permalink
Links, not images.
Browse files Browse the repository at this point in the history
  • Loading branch information
LettError committed Nov 3, 2023
1 parent 2a4bcea commit e3e38e9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions subscriber_reads_mousemoves.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from mojo.subscriber import Subscriber, registerGlyphEditorSubscriber

class GlyphEditorSubscriber(Subscriber):

debug = True

def glyphEditorDidMouseDrag(self, info):
print(info["lowLevelEvents"][-1]["tool"].__class__.__name__)

registerGlyphEditorSubscriber(GlyphEditorSubscriber)

0 comments on commit e3e38e9

Please sign in to comment.