This commit is contained in:
2026-01-22 00:06:13 +08:00
parent f26fc95ea3
commit ed7476e54b
316 changed files with 4962 additions and 14039 deletions

View File

@@ -9,8 +9,8 @@ log = getLogger("operations/paint")
class FloodAction(Action):
name = "Flood"
tooltip = "Apply current brush to whole selection"
name = "填充" # Flood
tooltip = "将当前画笔应用于整个选择区域"
def run(self):
session.paint_tool.flood(self.session.state.currentLayer.layer, influences=self.session.state.currentLayer.layer.paint_targets)
@@ -28,8 +28,8 @@ class FloodAction(Action):
class PaintAction(Action):
name = "Paint"
tooltip = "Toggle paint tool"
name = "绘制" # Paint
tooltip = "切换绘制工具"
checkable = True
def run(self):