mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 22:57:11 -05:00
Remove dynamic toolbar background from minimalist mode
This commit is contained in:
parent
d4adde9091
commit
506a9ad208
1 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,9 @@ class TopWebView(ToolbarWebView):
|
|||
)
|
||||
|
||||
def update_background_image(self) -> None:
|
||||
if self.mw.pm.minimalist_mode():
|
||||
return
|
||||
|
||||
def set_background(val: str) -> None:
|
||||
# remove offset from copy
|
||||
background = re.sub(r"-\d+px ", "0%", val)
|
||||
|
|
|
|||
Loading…
Reference in a new issue