ObjectProfile / Roassal2

Agile Visualization Engine for Pharo and VisualWorks
http://AgileVisualization.com
MIT License
26 stars 20 forks source link

Making RTDraggableView customizable #36

Closed pavel-krivanek closed 5 years ago

pavel-krivanek commented 5 years ago

Issue by bergel Tuesday Nov 21, 2017 at 00:33 GMT Originally opened as https://github.com/moosetechnology/Moose/issues/1272


Peter asked: is there a way to modify RTDraggableView to support dragging via middle click or left click?

peteruhnak commented 5 years ago

I've used RTSelectableView to solve this, so as far as I am concerned this issue can be closed.

bergel commented 5 years ago

Actually, the feature has been implemented. You can do:

    | v |
    v := RTView new.
    v @ RTDraggableView new right.
    RTCPDiverging new viewOn: v.
    ^ v