parent
df99f6ca17
commit
9d20e04336
|
@ -139,9 +139,9 @@ def create_root(start: Callable[[], None], destroy: Callable[[], None]) -> ctk.C
|
||||||
many_faces_switch = ctk.CTkSwitch(root, text='Many faces', variable=many_faces_value, cursor='hand2', command=lambda: setattr(modules.globals, 'many_faces', many_faces_value.get()))
|
many_faces_switch = ctk.CTkSwitch(root, text='Many faces', variable=many_faces_value, cursor='hand2', command=lambda: setattr(modules.globals, 'many_faces', many_faces_value.get()))
|
||||||
many_faces_switch.place(relx=0.6, rely=0.56875)
|
many_faces_switch.place(relx=0.6, rely=0.56875)
|
||||||
|
|
||||||
nsfw_value = ctk.BooleanVar(value=modules.globals.nsfw)
|
# nsfw_value = ctk.BooleanVar(value=modules.globals.nsfw)
|
||||||
nsfw_switch = ctk.CTkSwitch(root, text='NSFW', variable=nsfw_value, cursor='hand2', command=lambda: setattr(modules.globals, 'nsfw', nsfw_value.get()))
|
# nsfw_switch = ctk.CTkSwitch(root, text='NSFW', variable=nsfw_value, cursor='hand2', command=lambda: setattr(modules.globals, 'nsfw', nsfw_value.get()))
|
||||||
nsfw_switch.place(relx=0.6, rely=0.6125)
|
# nsfw_switch.place(relx=0.6, rely=0.6125)
|
||||||
|
|
||||||
start_button = ctk.CTkButton(root, text='Start', cursor='hand2', command=lambda: select_output_path(start))
|
start_button = ctk.CTkButton(root, text='Start', cursor='hand2', command=lambda: select_output_path(start))
|
||||||
start_button.place(relx=0.15, rely=0.7, relwidth=0.2, relheight=0.05)
|
start_button.place(relx=0.15, rely=0.7, relwidth=0.2, relheight=0.05)
|
||||||
|
|
Loading…
Reference in New Issue