Skip to content

Commit d86ab0d

Browse files
committed
Fixed simulated clicks on BilgeButtons.
1 parent d34b87a commit d86ab0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/Controls/BilgeButton.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ protected override void OnPaint(PaintEventArgs e) {
117117
}
118118

119119
protected override void OnClick(EventArgs e) {
120-
// Only allow left click to raise click event.
121-
if ((e as MouseEventArgs)?.Button.HasFlag(MouseButtons.Left) ?? false) {
120+
// Only allow left clicks and simulated clicks to raise click event.
121+
if ((e as MouseEventArgs)?.Button.HasFlag(MouseButtons.Left) ?? true) {
122122
base.OnClick(e);
123123
}
124124
}

Source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("1.2.2.0")]
35-
[assembly: AssemblyFileVersion("1.2.2.0")]
34+
[assembly: AssemblyVersion("1.2.3.0")]
35+
[assembly: AssemblyFileVersion("1.2.3.0")]

0 commit comments

Comments
 (0)