From a23b6647b0ca2cd9f2ccbbe12360c3fa0f96a554 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 16 Mar 2024 12:35:07 +0200 Subject: scaling as class --- src/sliceitoff/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sliceitoff/main.py') diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py index d604d0b..3632f41 100644 --- a/src/sliceitoff/main.py +++ b/src/sliceitoff/main.py @@ -13,13 +13,13 @@ def main(): pg_init() display = Display() - scaling = display.get_scaling() - load_images(scaling.scale) + load_images() - status = Status(scaling=scaling) - field = Field(scaling=scaling) - - print(scaling) + status = Status() + field = Field() + + field.slice(20_000,20_000,True,1_000) + field.slice(10_000,20_000,False,1_000) display.update( [ -- cgit v1.2.3