summaryrefslogtreecommitdiffstats
path: root/core/variant
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-11 14:18:04 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-11 14:18:04 -0600
commit30d87229ed3638b1086ed25cac8d5acb62c0ea9a (patch)
tree1c78de72ea739372494f00426ef6c8e3ae73a35f /core/variant
parent9502f6faf41406e09c76e28b4640a1f685b6b5e5 (diff)
parent2126df2dfd50a8cee88dc5916bc24b447fd85e7d (diff)
downloadredot-engine-30d87229ed3638b1086ed25cac8d5acb62c0ea9a.tar.gz
Merge pull request #82845 from Hysterelius/master
Color: Expose OKHSL properties
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_setget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp
index 1652f81d99..560067fc08 100644
--- a/core/variant/variant_setget.cpp
+++ b/core/variant/variant_setget.cpp
@@ -141,6 +141,10 @@ void register_named_setters_getters() {
REGISTER_MEMBER(Color, h);
REGISTER_MEMBER(Color, s);
REGISTER_MEMBER(Color, v);
+
+ REGISTER_MEMBER(Color, ok_hsl_h);
+ REGISTER_MEMBER(Color, ok_hsl_s);
+ REGISTER_MEMBER(Color, ok_hsl_l);
}
void unregister_named_setters_getters() {