mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-22 12:45:17 +00:00
Fix: Misaligned undo icons across all field types (#11431)
Align undo icons
This commit is contained in:
@@ -992,7 +992,7 @@ wxPoint OG_CustomCtrl::CtrlLine::draw_act_bmps(wxDC& dc, wxPoint pos, const wxBi
|
||||
pos.y += lround((height - get_bitmap_size(bmp_undo).GetHeight()) / 2);
|
||||
}
|
||||
#endif
|
||||
wxCoord h_pos = pos.x;
|
||||
wxCoord h_pos = pos.x - ctrl->m_h_gap; // Orca: adjust position to the left
|
||||
wxCoord v_pos = pos.y;
|
||||
|
||||
#ifndef DISABLE_UNDO_SYS
|
||||
|
||||
Reference in New Issue
Block a user