ui: fix unconditional rl.end_scissor_mode() call in MiciLabel (#36660)

fix incorrect end_scissor_mode usage
This commit is contained in:
Dean Lee
2025-11-27 18:17:16 +08:00
committed by GitHub
parent ae534ddeab
commit 4bd6fb0995

View File

@@ -183,7 +183,7 @@ class MiciLabel(Widget):
if self._scroll_state != ScrollState.STARTING:
rl.draw_rectangle_gradient_h(int(rect.x), int(rect.y), fade_width, int(rect.height), rl.BLACK, rl.Color(0, 0, 0, 0))
rl.end_scissor_mode()
rl.end_scissor_mode()
# TODO: This should be a Widget class