Skip to content

Commit ab8bedc

Browse files
authored
Merge pull request #670 from Shallowmallow/TooltipRenderer
ToolTipRenderer - options null check
2 parents 0fc98c8 + a44845e commit ab8bedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haxe/ui/tooltips/ToolTipManager.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class ToolTipManager {
368368
}
369369

370370
private function createToolTipRenderer(options:ToolTipOptions):ItemRenderer {
371-
if (options.renderer != null) {
371+
if (options != null && options.renderer != null) {
372372
return options.renderer;
373373
}
374374

0 commit comments

Comments
 (0)