Skip to content

Commit

Permalink
Use theme adaptable handle colors
Browse files Browse the repository at this point in the history
  • Loading branch information
ObaraEmmanuel committed Sep 20, 2023
1 parent ba717ab commit 7a05b26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion studio/lib/handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ def __init__(self, handle, direction):
super().__init__(handle.master)
self.direction = direction
color = handle.master.style.colors["accent"]
border = handle.master.style.colors["primarydarkaccent"]
self.config(
width=6, height=6, bg=color, cursor=self._cursor_map[direction],
highlightthickness=1, highlightbackground="#000"
highlightthickness=1, highlightbackground=border
)
self.handle = handle
self.bind("<ButtonPress>", self.on_press)
Expand Down

0 comments on commit 7a05b26

Please sign in to comment.