From 6a9201de7a3d57b9ded17cf3a37c843294a39514 Mon Sep 17 00:00:00 2001 From: Chaofan <herbix@163.com> Date: Wed, 6 Dec 2023 01:15:30 +0800 Subject: [PATCH] Release 0.11.2 --- CHANGELOG.md | 7 +++++-- README.md | 8 +++----- package.json | 2 +- webviewsrc/worldmap/renderer.ts | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24385cd..0e08d02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,15 @@ All notable changes to the "hoi4modutilities" extension will be documented in th Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. -## Develop +## [0.11.2] - 2023/12/06 - Latest + +### Added +* Updated Korean translation (Contributor: [gyhs(NIKA)](https://github.com/gyhs)). ### Fixed * Fix a bug that some conditions are treated as scope. -## [0.11.1] - 2023/11/17 - Latest +## [0.11.1] - 2023/11/17 ### Fixed * Preview world map will stuck if resource icons are not available. diff --git a/README.md b/README.md index 421919f..24dedf2 100644 --- a/README.md +++ b/README.md @@ -71,15 +71,13 @@ For feature details and user manual, please refer to [HOI4 Mod Utilities Wiki](h * Edge lines on world map not alway fit edge of colors. * Event tree preview will duplicate events even they are same event if they are from different option. -## Release Notes - [0.11.1] +## Release Notes - [0.11.2] ### Added -* Preview map shows X and Z from HOI4 coordinate system. -* Show resources of each state on previewed map. -* Show river on previewed map. +* Updated Korean translation (Contributor: [gyhs(NIKA)](https://github.com/gyhs)). ### Fixed -* Remove supply value if supply area is not enabled. +* Fix a bug that some conditions are treated as scope. ## Contribute * If you have any suggestion, feel free to create issue on this [Github repo](https://github.com/herbix/hoi4modutilities). diff --git a/package.json b/package.json index 4fc99d1..f7fe506 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "hoi4modutilities", "displayName": "%hoi4modutilities.displayName%", "description": "Utilities for Heart of Iron IV mods developers", - "version": "0.11.1", + "version": "0.11.2", "author": "Chaofan Yang", "publisher": "chaofan", "icon": "icon.png", diff --git a/webviewsrc/worldmap/renderer.ts b/webviewsrc/worldmap/renderer.ts index e809131..cc5455a 100644 --- a/webviewsrc/worldmap/renderer.ts +++ b/webviewsrc/worldmap/renderer.ts @@ -909,7 +909,7 @@ ${worldMap.getSupplyAreaWarnings(supplyArea).map(v => '|r|' + v).join('\n')}`); maxHeight = Math.max(maxHeight, image.naturalHeight * scale); fullWidth += image.naturalWidth * scale; } else { - maxHeight = Math.max(maxHeight, 24 * scale) + maxHeight = Math.max(maxHeight, 24 * scale); fullWidth += 24 * scale; } fullWidth += labelWidth;