Changeset 15 for Common/SplitButton.cs
- Timestamp:
- Jun 18, 2024, 12:15:33 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/SplitButton.cs
r14 r15 13 13 public bool ShowMenuUnderCursor { get; set; } 14 14 15 private bool menuShown = false;15 private bool menuShown; 16 16 17 17 protected override void OnMouseDown(MouseEventArgs mouseEvent) … … 56 56 int arrowY = ClientRectangle.Height / 2 - 1; 57 57 58 Brush brush = Enabled ? SystemBrushes.ControlText: SystemBrushes.ControlDark;59 Point[] arrows = new Point[]{58 Brush brush = Enabled ? new SolidBrush(Theme.ColorControlText) : SystemBrushes.ControlDark; 59 Point[] arrows = { 60 60 new Point(arrowX, arrowY), 61 61 new Point(arrowX + (int)DpiScaling.Scale(8), arrowY),
Note:
See TracChangeset
for help on using the changeset viewer.