Skip to content

Commit

Permalink
prevent negative X
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jan 23, 2024
1 parent 8eb3788 commit 1d46abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dogm/status_screen_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co

#if HAS_MULTI_EXTRUDER && DISABLED(SLIM_LCD_MENUS)
if (active_extruder == heater_id)
u8g.drawBitmapP(STATUS_HOTEND_X(heater_id) - 6, STATUS_HEATERS_Y + 3, 1, 5, status_active_extruder_indicator_bmp);
u8g.drawBitmapP(_MAX(0, STATUS_HOTEND_X(heater_id) - 6), STATUS_HEATERS_Y + 3, 1, 5, status_active_extruder_indicator_bmp);
#endif

#endif // !STATUS_COMBINE_HEATERS
Expand Down

0 comments on commit 1d46abc

Please sign in to comment.