Skip to content

Commit

Permalink
should check if entry exists against lowercase cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 12, 2024
1 parent 85a7e74 commit 31b9d47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion haxe/ui/core/Component.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ class Component extends ComponentImpl
private var _styleNames:String = null;
private var _styleNamesList:Array<String> = null;
@:dox(group = "Style related properties and methods")
@clonable public var styleNames(get, set):String;
@:clonable public var styleNames(get, set):String;
private function get_styleNames():String {
return _styleNames;
}
Expand Down
4 changes: 2 additions & 2 deletions haxe/ui/util/RTTI.hx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class RTTI {
return false;
}

return props.exists(propertyName);
return props.exists(propertyName.toLowerCase());
}

public static function hasPrimitiveClassProperty(className:String, propertyName:String) {
Expand All @@ -110,7 +110,7 @@ class RTTI {
return false;
}

return props.exists(propertyName);
return props.exists(propertyName.toLowerCase());
}

public static function load() {
Expand Down

0 comments on commit 31b9d47

Please sign in to comment.