From 7ff4ce18ff70d44290ee015e3d9cbb855c5d5e4c Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 17 Feb 2026 13:21:00 +0100 Subject: [PATCH] Add web platform icons to editor atlas --- Content/Editor/IconsAtlas.flax | 4 ++-- Source/Editor/EditorIcons.cs | 2 ++ Source/Editor/GUI/PlatformSelector.cs | 2 +- Source/Editor/Modules/ContentDatabaseModule.cs | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Content/Editor/IconsAtlas.flax b/Content/Editor/IconsAtlas.flax index 1c65c9f31..cd1c745a2 100644 --- a/Content/Editor/IconsAtlas.flax +++ b/Content/Editor/IconsAtlas.flax @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f2236762a9e54d6de50415e39b9a6b055bb88ba1ff0621787b96f87c437e520 -size 5612435 +oid sha256:2248c3069f16a3b1eb62aa4660c81427fd6effa364f8f0694ba751be8e60114c +size 5612622 diff --git a/Source/Editor/EditorIcons.cs b/Source/Editor/EditorIcons.cs index 8688c502a..ea773197a 100644 --- a/Source/Editor/EditorIcons.cs +++ b/Source/Editor/EditorIcons.cs @@ -151,6 +151,8 @@ namespace FlaxEditor public SpriteHandle LocalizationSettings128; public SpriteHandle Json128; public SpriteHandle AppleSettings128; + public SpriteHandle Web128; + public SpriteHandle WebSettings128; internal void LoadIcons() { diff --git a/Source/Editor/GUI/PlatformSelector.cs b/Source/Editor/GUI/PlatformSelector.cs index 8c1f89e45..3b1b85e90 100644 --- a/Source/Editor/GUI/PlatformSelector.cs +++ b/Source/Editor/GUI/PlatformSelector.cs @@ -93,7 +93,7 @@ namespace FlaxEditor.GUI new PlatformData(PlatformType.PS5, icons.PS5Icon128, "PlayStation 5"), new PlatformData(PlatformType.Mac, icons.MacOSIcon128, "macOS"), new PlatformData(PlatformType.iOS, icons.IOSIcon128, "iOS"), - new PlatformData(PlatformType.Web, icons.Flax64, "Web"), + new PlatformData(PlatformType.Web, icons.Web128, "Web"), }; const float IconSize = 64.0f; diff --git a/Source/Editor/Modules/ContentDatabaseModule.cs b/Source/Editor/Modules/ContentDatabaseModule.cs index fc139f312..9c16324f3 100644 --- a/Source/Editor/Modules/ContentDatabaseModule.cs +++ b/Source/Editor/Modules/ContentDatabaseModule.cs @@ -1188,6 +1188,7 @@ namespace FlaxEditor.Modules Proxy.Add(new SettingsProxy(typeof(AndroidPlatformSettings), Editor.Instance.Icons.AndroidSettings128)); Proxy.Add(new SettingsProxy(typeof(MacPlatformSettings), Editor.Instance.Icons.AppleSettings128)); Proxy.Add(new SettingsProxy(typeof(iOSPlatformSettings), Editor.Instance.Icons.AppleSettings128)); + Proxy.Add(new SettingsProxy(typeof(WebPlatformSettings), Editor.Instance.Icons.WebSettings128)); var typePS4PlatformSettings = TypeUtils.GetManagedType(GameSettings.PS4PlatformSettingsTypename); if (typePS4PlatformSettings != null)