diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-16 12:35:07 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-16 12:35:07 +0200 |
commit | a23b6647b0ca2cd9f2ccbbe12360c3fa0f96a554 (patch) | |
tree | bab154622f9767fd340278ab275babb76fc569d5 /src/sliceitoff/main.py | |
parent | 1ad8357f0039292b929e66cf703b4314660aded2 (diff) |
scaling as class
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r-- | src/sliceitoff/main.py | 12 |
1 files changed, 6 insertions, 6 deletions
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( [ |