Skip to content

Commit

Permalink
Fix getViewport method of GRViewportTexture
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Jan 30, 2024
1 parent e6b9886 commit 1296fc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GReaSe-Tools/ComponentBrowserDworph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ComponentBrowserDworph >> render: props [
buttonMask: 1.

"@TODO find out why this does not work"
"viewport get inputLocalEvent: inputEvent."
(viewport get) inputLocalEvent: inputEvent.
]]
].
GDMeshInstance new
Expand Down
2 changes: 1 addition & 1 deletion squeak/GReaSe-React/GRViewportTexture.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GRViewportTexture >> render: props [
viewportTex := self useState: nil.
viewport := self useGodotRef.
self useEffect: [
getViewport ifNotNil: [getViewport cull: viewport]]
getViewport ifNotNil: [getViewport cull: viewport get]]
dependencies: {viewport get ifNotNil: #objectId}.

{
Expand Down

0 comments on commit 1296fc4

Please sign in to comment.