From 2a63170b21cbfb434cf8b68550f173cb68110a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20M=2E=20aka=20Menion?= Date: Thu, 19 Sep 2024 13:10:49 +0200 Subject: [PATCH] - var: stupidy in practice fix --- CHANGELOG.md | 6 +----- README.md | 2 +- gradle.properties | 4 ++-- .../src/main/java/locus/api/objects/styles/HotSpot.kt | 2 +- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a5f6b7..5882de6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## [0.9.59] - 2024-09-19 -### Fixed -- restored missing `getCoords` method of `HotSpot` - -## [0.9.58] - 2024-09-19 +## [0.9.60] - 2024-09-19 ### Changed - rename of `HotSpot` object (from `KmlVec2`) & optimization in it's usage - minor refactoring diff --git a/README.md b/README.md index 5587768..9e45740 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Library for [Locus Map](https://www.locusmap.app) application for Android device ## Current version -Latest stable LT version: **0.9.59** +Latest stable LT version: **0.9.60** Available versions on the maven repository: [here](https://repo1.maven.org/maven2/com/asamm/). How to **update to new 0.9.x** version? More about it [here](https://github.com/asamm/locus-api/wiki/Update-to-version-0.9.0). diff --git a/gradle.properties b/gradle.properties index 7c18452..e23b8bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,8 +23,8 @@ GRADLE_NEXUS_STAGING = 0.30.0 LOCUS_LOGGER = 2.2 # Version -API_CODE = 106 -API_VERSION = 0.9.59 +API_CODE = 107 +API_VERSION = 0.9.60 # ANDROID SUPPORT LIBS # https://developer.android.com/topic/libraries/support-library/revisions.html diff --git a/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt b/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt index 9d498f7..7f6e127 100644 --- a/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt +++ b/locus-api-core/src/main/java/locus/api/objects/styles/HotSpot.kt @@ -17,7 +17,7 @@ data class HotSpot( /** * Compute reference coordinates of certain image based on the defined hotSpot parameters. */ - fun HotSpot.getCoords(sourceWidth: Double, sourceHeight: Double, result: DoubleArray? = DoubleArray(2)): DoubleArray { + fun getCoords(sourceWidth: Double, sourceHeight: Double, result: DoubleArray? = DoubleArray(2)): DoubleArray { var resultNew = result // check container for results