mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 22:22:11 +08:00
ui: fix LineSeparator horizontal centering issue (#36533)
fix LineSeparator horizontal centering issue
This commit is contained in:
@@ -18,7 +18,7 @@ class LineSeparator(Widget):
|
||||
|
||||
def _render(self, _):
|
||||
rl.draw_line(int(self._rect.x) + LINE_PADDING, int(self._rect.y),
|
||||
int(self._rect.x + self._rect.width) - LINE_PADDING * 2, int(self._rect.y),
|
||||
int(self._rect.x + self._rect.width) - LINE_PADDING, int(self._rect.y),
|
||||
LINE_COLOR)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user