mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2025-03-27 02:02:08 +01:00
Change Switch positions
This commit is contained in:
parent
3c30ab8a5d
commit
64c0f085b1
@ -423,6 +423,21 @@ def create_root(
|
||||
)
|
||||
color_correction_switch.pack(pady=5, anchor="w")
|
||||
|
||||
map_faces = ctk.BooleanVar(value=modules.globals.map_faces)
|
||||
map_faces_switch = ctk.CTkSwitch(
|
||||
left_column,
|
||||
text="Map faces",
|
||||
variable=map_faces,
|
||||
cursor="hand2",
|
||||
command=lambda: (
|
||||
setattr(modules.globals, "map_faces", map_faces.get()),
|
||||
save_switch_states(),
|
||||
),
|
||||
progress_color="#3a7ebf",
|
||||
font=("Roboto", 14, "bold"),
|
||||
)
|
||||
map_faces_switch.pack(pady=5, anchor="w")
|
||||
|
||||
# Right column - Face Detection & Masking Options
|
||||
many_faces_value = ctk.BooleanVar(value=modules.globals.many_faces)
|
||||
many_faces_switch = ctk.CTkSwitch(
|
||||
@ -454,21 +469,6 @@ def create_root(
|
||||
)
|
||||
show_fps_switch.pack(pady=5, anchor="w")
|
||||
|
||||
map_faces = ctk.BooleanVar(value=modules.globals.map_faces)
|
||||
map_faces_switch = ctk.CTkSwitch(
|
||||
right_column,
|
||||
text="Map faces",
|
||||
variable=map_faces,
|
||||
cursor="hand2",
|
||||
command=lambda: (
|
||||
setattr(modules.globals, "map_faces", map_faces.get()),
|
||||
save_switch_states(),
|
||||
),
|
||||
progress_color="#3a7ebf",
|
||||
font=("Roboto", 14, "bold"),
|
||||
)
|
||||
map_faces_switch.pack(pady=5, anchor="w")
|
||||
|
||||
# Face Opacity Controls
|
||||
opacity_frame = ctk.CTkFrame(right_column, fg_color="#2a2d2e")
|
||||
opacity_frame.pack(pady=5, anchor="w", fill="x")
|
||||
|
Loading…
x
Reference in New Issue
Block a user