From 264328e38f59026137978a3dbf9daf9cfac15922 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Wed, 29 Apr 2020 10:00:26 +0530 Subject: [PATCH] Fix a typo in propertynames(scene) --- src/scenes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenes.jl b/src/scenes.jl index 0588edf9f..c305788a2 100644 --- a/src/scenes.jl +++ b/src/scenes.jl @@ -210,7 +210,7 @@ end # Base overloads for Scene Base.haskey(scene::Scene, key::Symbol) = haskey(scene.attributes, key) -Base.propertynames(scene::Scene) = fieldnames(scene) ∪ propertynames(scene.attributes) +Base.propertynames(scene::Scene) = fieldnames(Scene) ∪ propertynames(scene.attributes) function Base.getindex(scene::Scene, key::Symbol) return haskey(scene.attributes, key) ? scene.attributes[key] : scene.theme[key]