File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 8
8
import time
9
9
import argparse
10
10
import math
11
- import pickle
12
11
import configparser
13
12
from enum import Enum
14
13
from tempfile import NamedTemporaryFile
@@ -226,7 +225,12 @@ def start(self):
226
225
next_button_image = pygame .image .load (IMAGES_PATH + BUTTON_NEXT_IMAGE )
227
226
new_button_image = pygame .image .load (IMAGES_PATH + BUTTON_NEW_IMAGE )
228
227
button_spacing = (
229
- self .width - (back_button_image .get_width () + next_button_image .get_width () + new_button_image .get_width ())
228
+ self .width
229
+ - (
230
+ back_button_image .get_width ()
231
+ + next_button_image .get_width ()
232
+ + new_button_image .get_width ()
233
+ )
230
234
) // 4
231
235
button_ypos = (
232
236
self .height
@@ -254,7 +258,9 @@ def start(self):
254
258
255
259
self ._load_button (
256
260
"next" ,
257
- button_spacing * 3 + back_button_image .get_width () + new_button_image .get_width (),
261
+ button_spacing * 3
262
+ + back_button_image .get_width ()
263
+ + new_button_image .get_width (),
258
264
button_ypos ,
259
265
next_button_image ,
260
266
self .next_page ,
You can’t perform that action at this time.
0 commit comments