|
@@ -184,10 +184,10 @@ function _mergeScreenSpecificSettings(screenID, screenInstanceID, params) {
|
184
|
184
|
Object.assign(navigatorStyle, params.navigatorStyle);
|
185
|
185
|
}
|
186
|
186
|
|
187
|
|
- const navigatorEventID = screenInstanceID + '_events';
|
188
|
|
- const navigatorButtons = Object.assign({}, screenClass.navigatorButtons);
|
|
187
|
+ let navigatorEventID = screenInstanceID + '_events';
|
|
188
|
+ let navigatorButtons = JSON.parse(JSON.stringify(screenClass.navigatorButtons));
|
189
|
189
|
if (params.navigatorButtons) {
|
190
|
|
- Object.assign(navigatorButtons, params.navigatorButtons);
|
|
190
|
+ navigatorButtons = JSON.parse(JSON.stringify(params.navigatorButtons));
|
191
|
191
|
}
|
192
|
192
|
if (navigatorButtons.leftButtons) {
|
193
|
193
|
for (let i = 0; i < navigatorButtons.leftButtons.length; i++) {
|