I'm looking at the examples of BlElement for upgrading Bloc-DragPanels. I'd expect BlElement to have a default eventlistener that allows moving the morphs around?
There is a bug and I disabled this behaviour. If you want to enable it uncomment line in BlPasteUpEventListener>>startSlide: or just add BlDraggingEventListener that implements dragging without adding to the hand. In BlElement class>exampleAdvancedClipping there is twice
addEventListener: (BlPluggableEventListener new whenMouseMoveDo: [ :event | event resumeBubbling ]);
It is a bug. If element has children mouse move event is not fired P.S. thanks for bug reports on tracker :) On Wed, Feb 10, 2016 at 3:06 PM, Stephan Eggermont <stephan@stack.nl> wrote:
On 09-02-16 09:15, Aliaksei Syrel wrote:
Bloc does not have examples yet. What classes/methods do you need to be commented first to understand the system?
In BlElement class>exampleAdvancedClipping there is twice
addEventListener: (BlPluggableEventListener new whenMouseMoveDo: [ :event | event resumeBubbling ]);
I'm not sure why the second one is needed. If this is needed a lot, I'd prefer #propagateEvent: #mouseMove or something like that.
Stephan