pharo-graphics / Toplo

A widget framework on top of Bloc
MIT License
17 stars 8 forks source link

Cannot supplement with an animation #104

Closed Nyan11 closed 4 months ago

Nyan11 commented 4 months ago

On TToStyleRuleScripter there is no method to create a supplement with an animation.

I suggest:

when: aLookEventClass supplement: aWriteableProperty with: aValuableOrObject animation: aPropertyAnimation

    self lookEventListenerHolder addLookEventListener:
        (ToPropertyWriter new
             eventClass: aLookEventClass;
             property: aWriteableProperty;
             value: aValuableOrObject;
             animation: aPropertyAnimation;
             supplement: true;
             yourself)