File tree 4 files changed +12
-10
lines changed
Formats/Character/Controls
4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 15
15
</ItemGroup >
16
16
<ItemGroup >
17
17
<ProjectReference Include =" $(EtoBasePath)src\Eto\Eto.csproj" Condition =" $(EtoBasePath) != ''" />
18
- <PackageReference Include =" Eto.Forms" Version =" 2.7.1 " Condition =" $(EtoBasePath) == ''" />
18
+ <PackageReference Include =" Eto.Forms" Version =" 2.7.4 " Condition =" $(EtoBasePath) == ''" />
19
19
<PackageReference Include =" System.Text.Encoding.CodePages" Version =" 6.0.0" />
20
20
</ItemGroup >
21
21
<ItemGroup >
Original file line number Diff line number Diff line change @@ -95,10 +95,12 @@ Control GradientPreview()
95
95
ReadOnly = true ,
96
96
Bordered = true
97
97
} ;
98
- control . MouseDown += ( sender , e ) =>
98
+ control . MouseDown += ( sender , e ) => e . Handled = true ;
99
+ control . MouseUp += ( sender , e ) =>
99
100
{
100
- EditBrushes ( ) ;
101
101
e . Handled = true ;
102
+ if ( new Rectangle ( control . Size ) . Contains ( ( Point ) e . Location ) )
103
+ EditBrushes ( ) ;
102
104
} ;
103
105
return control ;
104
106
}
Original file line number Diff line number Diff line change 23
23
</ItemGroup >
24
24
<ItemGroup >
25
25
<ProjectReference Include =" $(EtoBasePath)src\Eto\Eto.csproj" Condition =" $(EtoBasePath) != ''" />
26
- <PackageReference Include =" Eto.Forms" Version =" 2.7.1 " Condition =" $(EtoBasePath) == ''" />
26
+ <PackageReference Include =" Eto.Forms" Version =" 2.7.4 " Condition =" $(EtoBasePath) == ''" />
27
27
<PackageReference Include =" Newtonsoft.Json" Version =" 13.0.2" />
28
28
<PackageReference Include =" sharpcompress" Version =" 0.32.2" />
29
29
<PackageReference Include =" Mono.Nat" Version =" 3.0.3" />
Original file line number Diff line number Diff line change 82
82
</ItemGroup >
83
83
84
84
<ItemGroup Condition =" $(EtoBasePath) == ''" >
85
- <PackageReference Include =" Eto.Forms" Version =" 2.7.1 " />
86
- <PackageReference Include =" Eto.Platform.Gtk" Version =" 2.7.1 " Condition =" $(BuildTarget) == 'Linux'" />
87
- <PackageReference Include =" Eto.Platform.Mac64" Version =" 2.7.1 " Condition =" $(BuildTarget) == 'Mac'" />
88
- <PackageReference Include =" Eto.Platform.Windows" Version =" 2.7.1 " Condition =" $(BuildTarget) == 'Windows'" />
89
- <!-- <PackageReference Include="Eto.Platform.Gtk2" Version="2.7.1 " Condition="$(BuildTarget) == 'Linux'" /> -->
90
- <!-- <PackageReference Include="Eto.Platform.Wpf" Version="2.7.1 " Condition="$(BuildTarget) == 'Windows'" /> -->
85
+ <PackageReference Include =" Eto.Forms" Version =" 2.7.4 " />
86
+ <PackageReference Include =" Eto.Platform.Gtk" Version =" 2.7.4 " Condition =" $(BuildTarget) == 'Linux'" />
87
+ <PackageReference Include =" Eto.Platform.Mac64" Version =" 2.7.4 " Condition =" $(BuildTarget) == 'Mac'" />
88
+ <PackageReference Include =" Eto.Platform.Windows" Version =" 2.7.4 " Condition =" $(BuildTarget) == 'Windows'" />
89
+ <!-- <PackageReference Include="Eto.Platform.Gtk2" Version="2.7.4 " Condition="$(BuildTarget) == 'Linux'" /> -->
90
+ <!-- <PackageReference Include="Eto.Platform.Wpf" Version="2.7.4 " Condition="$(BuildTarget) == 'Windows'" /> -->
91
91
</ItemGroup >
92
92
93
93
<ItemGroup >
You can’t perform that action at this time.
0 commit comments