Skip to content

Commit

Permalink
Fix up-button "Up" label in macOS dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jul 4, 2022
1 parent ac76181 commit 078230e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dialogs/src/mapping_row_panel.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::base::Condition::SkipOnMacOs;
use crate::base::*;
use crate::constants::{MAIN_PANEL_WIDTH, MAPPING_ROW_PANEL_HEIGHT, MAPPING_ROW_PANEL_WIDTH};
use crate::ext::*;
Expand Down Expand Up @@ -83,7 +84,7 @@ pub fn create(context: ScopedContext, ids: &mut IdGenerator) -> Dialog {
context.rect(3, 23, 8, 8),
) + WS_DISABLED,
// Up/down buttons
groupbox("Up", ids.id(), context.rect(13, 13, 26, 14)) + WS_GROUP,
groupbox("Up", ids.id(), context.rect(13, 13, 26, 14)) + WS_GROUP + SkipOnMacOs,
pushbutton(
"Up",
ids.named_id("ID_UP_BUTTON"),
Expand Down

0 comments on commit 078230e

Please sign in to comment.