From 88ea1db0ccaba7254e4a5bbdc85b45ae0134d6a6 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Tue, 21 Jun 2022 14:15:00 +0200 Subject: [PATCH] Cleanup --- Sources/arm/App.hx | 4 ++-- Sources/arm/Project.hx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/arm/App.hx b/Sources/arm/App.hx index 2b9a5ebc..a786cb88 100644 --- a/Sources/arm/App.hx +++ b/Sources/arm/App.hx @@ -214,7 +214,7 @@ class App { } public static function w(): Int { - // Draw material preview + // Drawing material preview if (UISidebar.inst != null && Context.materialPreview) { return RenderUtil.matPreviewSize; } @@ -249,7 +249,7 @@ class App { } public static function h(): Int { - // Draw material preview + // Drawing material preview if (UISidebar.inst != null && Context.materialPreview) { return RenderUtil.matPreviewSize; } diff --git a/Sources/arm/Project.hx b/Sources/arm/Project.hx index 5dd3464a..48ad79dc 100644 --- a/Sources/arm/Project.hx +++ b/Sources/arm/Project.hx @@ -96,7 +96,7 @@ class Project { } if (ui.isHovered) ui.tooltip(path); } - if (ui.button("Clear", Left)) { + if (ui.button(tr("Clear"), Left)) { Config.raw.recent_projects = []; Config.save(); }