From 222b3c934d699aafdfc29269a42e5bf3859ab061 Mon Sep 17 00:00:00 2001 From: Lily Date: Mon, 23 Dec 2024 16:15:35 +0300 Subject: [PATCH] Update NativeWindow.hx --- source/lime/_internal/backend/native/NativeWindow.hx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/lime/_internal/backend/native/NativeWindow.hx b/source/lime/_internal/backend/native/NativeWindow.hx index 3f99cde7..4d409f53 100644 --- a/source/lime/_internal/backend/native/NativeWindow.hx +++ b/source/lime/_internal/backend/native/NativeWindow.hx @@ -305,7 +305,7 @@ class NativeWindow { if (handle != null) { - #if (!macro && lime_cffi) + #if (!macro && lime_cffi && lime >= "8.1.0") return NativeCFFI.lime_window_get_opacity(handle); #end } @@ -467,7 +467,7 @@ class NativeWindow { if (handle != null) { - #if (!macro && lime_cffi) + #if (!macro && lime_cffi && lime >= "8.1.0") NativeCFFI.lime_window_set_minimum_size(handle, width, height); #end } @@ -477,7 +477,7 @@ class NativeWindow { if (handle != null) { - #if (!macro && lime_cffi) + #if (!macro && lime_cffi && lime >= "8.1.0") NativeCFFI.lime_window_set_maximum_size(handle, width, height); #end } @@ -666,7 +666,7 @@ class NativeWindow { if (handle != null) { - #if (!macro && lime_cffi) + #if (!macro && lime_cffi && lime >= "8.1.0") NativeCFFI.lime_window_set_opacity(handle, value); #end } @@ -705,7 +705,7 @@ class NativeWindow { if (handle != null) { - #if (!macro && lime_cffi) + #if (!macro && lime_cffi && lime >= "8.1.0") NativeCFFI.lime_window_set_visible(handle, value); #end }