[Cuis-dev] MenuItemMorph mouseButton1Up:localPosition: not called
Gerald Klix
cuis.01 at klix.ch
Sat Mar 18 11:18:49 PDT 2023
Please look at: MenuItemMorph>>#mouseButton2Up:localPosition
@Juan: BTW: openinHand is abit broken, because it adds a strange offset
to the morphs's position.
HTH,
Gerald
On 3/18/23 6:51 PM, Bernhard Pieber via Cuis-dev wrote:
> Hi everyone,
>
> I tried to implement the feature for MenuItemMorphs but failed. For some reasons #mouseButton1Up:localPosition: is not called when a modifier key (Shift, Control, Alt) is pressed. I tried to find it out myself but failed. Can anyone explain this behaviour?
>
> I found a feature which I did not know. When clicking a menu item morph with Alt and Shift pressed the menu item is duplicated and attached to the hand. Where is this implemented?
>
> Bernhard
>
>> Am 18.03.2023 um 17:11 schrieb Bernhard Pieber via Cuis-dev <cuis-dev at lists.cuis.st>:
>>
>> And because it sounded like fun I created a first. File it in and you can debug any PluggableButtonMorph action when you click it with the Shift key pressed.
>>
>> Things to do:
>> - Do the same for the secondary action button.
>> - Do the same for menu item selection.
>> - Add a new prefProgramming preference.
>>
>> <5706-CuisCore-BernhardPieber-2023Mar18-16h18m-bp.001.cs.st>
>
More information about the Cuis-dev
mailing list