diff --git a/README.md b/README.md index 1325f12..dbe4d1b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,21 @@ +GlintColorizer Icon + # GlintColorizer ![Compact Powered by OneConfig](https://polyfrost.org/img/compact_vector.svg) ![Dev Workflow Status](https://img.shields.io/github/v/release/Polyfrost/GlintColorizer.svg?style=for-the-badge&color=1452cc&label=release) -### Customize the glint of enchanted items. +An Overly Complex Glint Customizer + +## Features + +- Glint Color +- Individual Stroke Color +- Sliding Speed +- Rotation +- Scale +- Shiny Pots + +## Gallery -Allows changing: -- The color -- Whether to apply to potion background \ No newline at end of file +![settings-page.png](images/settings-page.png) diff --git a/images/settings-page.png b/images/settings-page.png new file mode 100644 index 0000000..024114b Binary files /dev/null and b/images/settings-page.png differ diff --git a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt index 6feead1..48ef718 100644 --- a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt +++ b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt @@ -36,8 +36,6 @@ object GlintConfig : Config( framedItem.reset(true) shinyPots.reset(true) armorColor = OneColor(defaultColor) - save() - openGui() } @Button( @@ -52,8 +50,6 @@ object GlintConfig : Config( droppedItem.reset2() framedItem.reset2() shinyPots.reset2() - save() - openGui() } @Button( @@ -68,8 +64,6 @@ object GlintConfig : Config( potionGlintBackground = false potionBasedColor = false potionGlintForeground = false - save() - openGui() } @Color( @@ -101,8 +95,6 @@ object GlintConfig : Config( droppedItem.individualStrokes = false framedItem.individualStrokes = false shinyPots.individualStrokes = false - save() - openGui() } @Button( @@ -118,9 +110,6 @@ object GlintConfig : Config( droppedItem.glintColor = OneColor(oldGlintValue) framedItem.glintColor = OneColor(oldGlintValue) shinyPots.glintColor = OneColor(oldGlintValue) - - save() - openGui() } /* Held Items */ @@ -157,8 +146,6 @@ object GlintConfig : Config( ) var resetArmor = Runnable { armorColor = OneColor(defaultColor) - save() - openGui() } @Switch(