Implement Keyboard focus on a custom morph when have rounded corners

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Implement Keyboard focus on a custom morph when have rounded corners

gerard alis
I´m developing new widgets, integrateds in Polymorph. But when I try implement the keyboard focus appearance fails when the widget have rounded corners:



I imagine something miss, but I don´t know what.

I implement the keyboard focus with

drawSubmorphsOn: aCanvas

        super drawSubmorphsOn: aCanvas.
        self hasKeyboardFocus ifTrue: [self drawKeyboardFocusOn: aCanvas].


Many thanks for the help  :))