diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-04 17:29:48 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-04 17:29:48 +0200 |
| commit | 43a2de4e86db7a85588eca21444ffca611b33d3d (patch) | |
| tree | 02cd49886392e0a6845b3c715902b0e6ef2b0679 /CrowIDE | |
| parent | 9b46f842750724082fa4abe6a7bd95883557bd01 (diff) | |
reapply patch from other branch for mouse simplificationmouseSimplificationTests
Diffstat (limited to 'CrowIDE')
| -rw-r--r-- | CrowIDE/DefaultTemplateOverrides/MenuItem.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CrowIDE/DefaultTemplateOverrides/MenuItem.template b/CrowIDE/DefaultTemplateOverrides/MenuItem.template index bf01f99d..2ed8496a 100644 --- a/CrowIDE/DefaultTemplateOverrides/MenuItem.template +++ b/CrowIDE/DefaultTemplateOverrides/MenuItem.template @@ -1,11 +1,11 @@ <?xml version="1.0"?> <Popper Font="{./Font}" Caption="{./Caption}" Background="{./Background}" PopDirection="{./PopDirection}" - Foreground = "{./Foreground}" CanPop="{./HasChildren}" MouseClick="./onMI_Click" + Foreground = "{./Foreground}" CanPop="{./HasChildren}" IsPopped="{²./IsOpened}" PopWidth="{./PopWidth}" PopHeight="{./PopHeight}" IsEnabled="{./IsEnabled}"> <Template> <CheckBox IsChecked="{²./IsPopped}" Caption="{./Caption}" Background="{./Background}" Foreground="{./Foreground}"> <Template> - <Border Name="border1" + <Border Name="border1" ForwardMouseEvents="true" MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black}" MouseLeave="{Foreground=Transparent}" MouseDown="{Foreground=vgradient|0:Black|0.05:Grey|0.85:Grey|1:White}" |