diff --git a/changelog/CHANGELOG.md b/changelog/CHANGELOG.md index b9e9c1ea6..85621fcf0 100644 --- a/changelog/CHANGELOG.md +++ b/changelog/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog --- +# 88.3-1.8.1 [Global Font Fix] + +- Fixed issue with global font override not being applied after IDE was restarted. + # 88.3-1.8.0 [SDK API Updates] - Removed Frameless mode as it's supported by the platform now. diff --git a/changelog/RELEASE-NOTES.md b/changelog/RELEASE-NOTES.md index 99f5f2c22..4a7774589 100644 --- a/changelog/RELEASE-NOTES.md +++ b/changelog/RELEASE-NOTES.md @@ -1,20 +1 @@ -# 88.3-1.8.0 [Doki Theme Icons] - -
-Doki Theme Icons -
- -- Removed the legacy Material Icons. Please install the [Doki Theme Icons](https://github.com/doki-theme/doki-theme-icons-jetbrains) in its place. -- Renamed plugin to `Doki Theme` & updated plugin logo. -- Zero Two's Obsidian theme is now the default for new users. -- Updated Chocola's Xmas theme. -- Made Natsuki's & Tohru's ANSI green color more usable. -- Themed the `Version Control Marker Popup` -- Restored the selected radio button for all light themes. -- Themed the segmented buttons, so various settings UI components look better. -- Added the initial experimental UI (New UI) support. -- Source code is compiled for Java 17. -- Raised lowest supported build to 2022.2 to support Java 17. -- Themed the progress indicator track bar. -- Removed Frameless mode as it's supported by the platform now. -- Migrated away from various internal methods where replacement was available. +- Fixed issue with global font override not being applied after IDE was restarted. \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 6be5a4fe5..ef0b4aad4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ # -> https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html pluginGroup=io.unthrottled -pluginVersion=88.3-1.8.0 +pluginVersion=88.3-1.8.1 pluginSinceBuild=222 pluginUntilBuild = 223.* diff --git a/src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt b/src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt index 545083cca..d373faff2 100644 --- a/src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt +++ b/src/main/kotlin/io/unthrottled/doki/TheDokiTheme.kt @@ -62,6 +62,7 @@ class TheDokiTheme : Disposable { IconPathReplacementComponent.initialize() EXPUIBastardizer.bastardizeExperimentalUI() installAllUIComponents() + applyFonts() connection.subscribe( ApplicationActivationListener.TOPIC, @@ -82,8 +83,7 @@ class TheDokiTheme : Disposable { .doOrElse({ setSVGColorPatcher(it) installAllUIComponents() - applyCustomFontSize() - applyConsoleFont() + applyFonts() attemptToRefreshUpdateNotification(it) }) { IconPathReplacementComponent.removePatchers() @@ -93,6 +93,11 @@ class TheDokiTheme : Disposable { ) } + private fun applyFonts() { + applyCustomFontSize() + applyConsoleFont() + } + fun projectOpened(project: Project) { EXPUIBastardizer.bastardizeExperimentalUI() ThemeManager.instance.currentTheme