mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
removed 4 px margin from stock chat
This commit is contained in:
@@ -479,7 +479,7 @@ class StockManager:
|
|||||||
# Calculate chart dimensions
|
# Calculate chart dimensions
|
||||||
chart_width = int(width // 2.5) # Reduced from width//2.5 to prevent overlap
|
chart_width = int(width // 2.5) # Reduced from width//2.5 to prevent overlap
|
||||||
chart_height = height // 1.5
|
chart_height = height // 1.5
|
||||||
chart_x = width - chart_width - 4 # 4px margin from right edge
|
chart_x = width - chart_width # - 4 # 4px margin from right edge
|
||||||
chart_y = (height - chart_height) // 2
|
chart_y = (height - chart_height) // 2
|
||||||
|
|
||||||
# Find min and max prices for scaling
|
# Find min and max prices for scaling
|
||||||
|
|||||||
Reference in New Issue
Block a user