注释更正

This commit is contained in:
2026-07-25 11:31:55 +08:00
parent 8e1afb507d
commit 0f19edb4bd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ class PluginMetaInformation(ABC):
"""插件版本号""" """插件版本号"""
type: PluginTypes type: PluginTypes
"""插件类型""" """插件类型"""
license: str = "MIT License" license: str
"""插件发布时采用的许可协议""" """插件发布时采用的许可协议"""
dependencies: Sequence[str] = tuple() dependencies: Sequence[str] = tuple()
"""插件是否对其他插件存在依赖""" """插件是否对其他插件存在依赖"""
+2 -2
View File
@@ -529,7 +529,7 @@ class SingleTrack(List[SingleNote]):
"""该音轨是否启用""" """该音轨是否启用"""
instrument: Instrument instrument: Instrument
"""乐器ID""" """该音轨所用的乐器"""
is_high_time_precision: bool is_high_time_precision: bool
"""该音轨是否使用高精度时间""" """该音轨是否使用高精度时间"""
@@ -596,7 +596,7 @@ class SingleTrack(List[SingleNote]):
self.instrument = ( self.instrument = (
track_instrument if track_instrument else DefaultInstrument.HARP.value track_instrument if track_instrument else DefaultInstrument.HARP.value
) )
"""乐器ID""" """该音轨所用之乐器"""
self.is_high_time_precision = precise_time self.is_high_time_precision = precise_time
"""是否使用高精度时间""" """是否使用高精度时间"""