pharo-graphics / Roassal

The Roassal Visualization Engine
MIT License
16 stars 11 forks source link

RSKeyNavigationCanvasInteraction is not very modular #50

Closed ClotildeToullec closed 9 months ago

ClotildeToullec commented 10 months ago

This interaction manages ALL keyboard interactions with the canvas. It is by default in RSCanvasController. Problem: we want to add a shortcut to a presenter that includes a SpRoassalPresenter, containing a RSCanvas, thus using this interaction. Our shortcut needs to strike $M and this keystroke is preempted by the canvas to expand the window.

We can either

Maybe this interaction should be split in several ones to manage different kinds of effect. Or maybe should we be able to set the key to strike for each action?

Version information: Moose 11 image (Roassal v1.05b)

akevalion commented 9 months ago

Moved to ObjectProfile/Roassal3