Skip to content

Commit

Permalink
feat(ViewProxy): Add getter and setter for resetCameraOnFirstRender
Browse files Browse the repository at this point in the history
  • Loading branch information
bruyeret authored and finetjul committed May 15, 2024
1 parent f1dc4a2 commit 41ccd9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/Proxy/Core/ViewProxy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,11 @@ function extend(publicAPI, model, initialValues = {}) {
Object.assign(model, DEFAULT_VALUES, initialValues);

macro.obj(publicAPI, model);
macro.setGet(publicAPI, model, ['name', 'disableAnimation']);
macro.setGet(publicAPI, model, [
'name',
'disableAnimation',
'resetCameraOnFirstRender',
]);
macro.get(publicAPI, model, [
'annotationOpacity',
'camera',
Expand Down

0 comments on commit 41ccd9d

Please sign in to comment.