Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jun 26, 2023
1 parent 9fa97de commit b4451a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions haxe/ui/filters/FilterParser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package haxe.ui.filters;
import haxe.ui.styles.CssFilters;

class FilterParser {
private static var filterParamDefaults:Map<String, Array<Dynamic>>;

public static function parseFilter(filterDetails:Array<Any>):Filter {
var filterName = filterDetails.shift();
if (!CssFilters.hasCssFilter(filterName)) {
Expand Down
2 changes: 1 addition & 1 deletion haxe/ui/styles/Style.hx
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ class Style {
if (animationOptions == null) animationOptions = {};
}

private function parseFilter(value, filters) {
private function parseFilter(value:Value, filters:Array<Filter>) {
switch (value) {
case Value.VCall(f, vl):
var arr = ValueTools.array(vl);
Expand Down

0 comments on commit b4451a5

Please sign in to comment.