jtanadi / CheckParallelTool

Simple tool to check handles in RF
7 stars 0 forks source link

Pinching (to zoom in and out) doesn't work #2

Open jtanadi opened 4 years ago

jtanadi commented 4 years ago

With this tool installed, pinching no longer works.

typemytype commented 4 years ago

The issue here is that it is advised to use a CanvasGroup instead from mojo.canvas import CanvasGroup

A canvas groups is sending all events to the underlaying glyph view is the given delegate is not using them.

see https://robofont.com/documentation/building-tools/toolspace/observers/glyph-editor-subview/?highlight=addGlyphEditorSubview

it happens here: https://github.com/jtanadi/CheckParallelTool/blob/master/CheckParallelTool.roboFontExt/lib/comCheckParallelUtils/guideStatusView.py#L9

jtanadi commented 4 years ago

Thanks @typemytype. Will fix soon.

gupta-vidit commented 3 months ago

@jtanadi Did you happen to fix this?

jtanadi commented 2 months ago

@gupta-vidit No fix for this either.