elukjanovica 2024-03-03 13:25:14 +02:00
parent 2ceec90ede
commit c61ccf2549
1 changed files with 6 additions and 4 deletions

10
main.py
View File

@ -161,20 +161,22 @@ else:
FONT_SIZE = 22 FONT_SIZE = 22
FONT_SIZE2 = 19 FONT_SIZE2 = 19
elif FONT == FONTS[2]: elif FONT == FONTS[2]:
FONT_SIZE = 21 FONT_SIZE = 26
FONT_SIZE2 = 18 FONT_SIZE2 = 22
puzzle_size = (360, 360) puzzle_size = (360, 360)
non_movable_area = pygame.Rect(18, 48, 360, 360) non_movable_area = pygame.Rect(18, 48, 360, 360)
timer_area = pygame.Rect(49, 5, 86, 32) timer_area = pygame.Rect(49, 5, 86, 32)
win_area = pygame.Rect(200, 214, 360, 360) win_area = pygame.Rect(200, 214, 360, 360)
size = [50, 55, 328, 35] size = [50, 58, 328, 35]
cons = [35, 455, 25, 13, 26] cons = [35, 455, 26, 8, 26]
scaled_size = (43, 48, 310, 310) scaled_size = (43, 48, 310, 310)
area = (197, 390) area = (197, 390)
spaces = [24, 34, 50, 84, 8] spaces = [24, 34, 50, 84, 8]
f_line = [276, 70, 200, 32] f_line = [276, 70, 200, 32]
s_line = [276, 105, 200, 32] s_line = [276, 105, 200, 32]
s_button = [479, 70, 24, 40] s_button = [479, 70, 24, 40]
if current_style == STYLE_CHOICES[0]:
cons[3] = 10
puzzle_version = settings_data["grid"] puzzle_version = settings_data["grid"]