Changeset 15 for Common/SplitButton.cs


Ignore:
Timestamp:
Jun 18, 2024, 12:15:33 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Updated files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/SplitButton.cs

    r14 r15  
    1313        public bool ShowMenuUnderCursor { get; set; }
    1414
    15         private bool menuShown = false;
     15        private bool menuShown;
    1616
    1717        protected override void OnMouseDown(MouseEventArgs mouseEvent)
     
    5656            int arrowY = ClientRectangle.Height / 2 - 1;
    5757
    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 = {
    6060                new Point(arrowX, arrowY),
    6161                new Point(arrowX + (int)DpiScaling.Scale(8), arrowY),
Note: See TracChangeset for help on using the changeset viewer.