From 363b2270e8192bf44d5670a4eef8175e432ebb50 Mon Sep 17 00:00:00 2001 From: uurha Date: Thu, 25 Jul 2024 13:12:19 +0000 Subject: [PATCH] Merge pull request #29 from techno-dwarf-works/feature/refactoring Version 0.0.26 --- Editor/Helpers/StyleContainer.cs | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Editor/Helpers/StyleContainer.cs b/Editor/Helpers/StyleContainer.cs index 0d4dade..7dd40d8 100644 --- a/Editor/Helpers/StyleContainer.cs +++ b/Editor/Helpers/StyleContainer.cs @@ -2298,6 +2298,7 @@ private void ForceApply() _cachedStyle.wordSpacing = _wordSpacing.Value; } +#if UNITY_2022_2_OR_NEWER if (_backgroundPositionX.HasValue) { _cachedStyle.backgroundPositionX = _backgroundPositionX.Value; @@ -2322,6 +2323,7 @@ private void ForceApply() { _cachedStyle.unitySliceScale = _unitySliceScale.Value; } +#endif } } } \ No newline at end of file diff --git a/package.json b/package.json index dccc3ba..93ea393 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.tdw.better.commons", "displayName": "Better Commons", - "version": "0.0.25", + "version": "0.0.26", "unity": "2021.3", "description": " ", "dependencies": {