paint: cleanup

This commit is contained in:
luboslenco
2026-03-15 11:37:45 +01:00
parent f2e53fd899
commit fdb88c3cc9
63 changed files with 904 additions and 900 deletions
+2 -2
View File
@@ -96,11 +96,11 @@ void ui_box_render() {
ui_end_element();
#if defined(IRON_WINDOWS) || defined(IRON_LINUX) || defined(IRON_MACOS)
if (ui_box_copyable && ui_icon_button(tr("Copy", NULL), ICON_COPY, UI_ALIGN_CENTER)) {
if (ui_box_copyable && ui_icon_button(tr("Copy"), ICON_COPY, UI_ALIGN_CENTER)) {
iron_copy_to_clipboard(ui_box_text);
}
#endif
if (ui_icon_button(tr("OK", NULL), ICON_CHECK, UI_ALIGN_CENTER)) {
if (ui_icon_button(tr("OK"), ICON_CHECK, UI_ALIGN_CENTER)) {
ui_box_hide();
}
ui_box_window_border();