mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2025-02-25 03:49:41 +08:00
加个copy方法
This commit is contained in:
parent
d3b637a0c8
commit
edd40c078f
@ -376,6 +376,10 @@ class ProgressBarStyle:
|
||||
"""设置已播放之样式"""
|
||||
self.played_style = value
|
||||
|
||||
def copy(self):
|
||||
dst = ProgressBarStyle(self.base_style,self.to_play_style,self.played_style)
|
||||
return dst
|
||||
|
||||
|
||||
DEFAULT_PROGRESSBAR_STYLE = ProgressBarStyle(
|
||||
r"▶ %%N [ %%s/%^s %%% __________ %%t|%^t ]",
|
||||
|
Loading…
x
Reference in New Issue
Block a user