From fa44b39d22b5fba30a43a4bd73b2c1e4cc0f8a70 Mon Sep 17 00:00:00 2001 From: Kai O'Reilly Date: Fri, 5 Jul 2024 13:34:03 -0700 Subject: [PATCH] remove old Code icons; no longer necessary or relevant --- code/code.go | 10 ------- code/icons/code.svg | 67 --------------------------------------------- code/icons/core.svg | 56 ------------------------------------- 3 files changed, 133 deletions(-) delete mode 100644 code/icons/code.svg delete mode 100644 code/icons/core.svg diff --git a/code/code.go b/code/code.go index e24038e2..d7bb8347 100644 --- a/code/code.go +++ b/code/code.go @@ -8,7 +8,6 @@ package code //go:generate core generate import ( - "embed" "fmt" "log" "log/slog" @@ -20,13 +19,11 @@ import ( "cogentcore.org/core/base/errors" "cogentcore.org/core/base/fileinfo" - "cogentcore.org/core/base/fsx" "cogentcore.org/core/base/vcs" "cogentcore.org/core/core" "cogentcore.org/core/events" "cogentcore.org/core/events/key" "cogentcore.org/core/filetree" - "cogentcore.org/core/icons" "cogentcore.org/core/spell" "cogentcore.org/core/styles" "cogentcore.org/core/styles/units" @@ -35,13 +32,6 @@ import ( "cogentcore.org/core/types" ) -//go:embed icons/*.svg -var Icons embed.FS - -func init() { - icons.AddFS(fsx.Sub(Icons, "icons")) -} - // Code is the core editor and tab viewer widget for the Code system. The // default view has a tree browser of files on the left, editor panels in the // middle, and a tabbed viewer on the right. diff --git a/code/icons/code.svg b/code/icons/code.svg deleted file mode 100644 index 75e949ae..00000000 --- a/code/icons/code.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - Code - - diff --git a/code/icons/core.svg b/code/icons/core.svg deleted file mode 100644 index 212c5ea6..00000000 --- a/code/icons/core.svg +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - -