diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx
index 19857d5c69..97dbc4836d 100644
--- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx
@@ -244,7 +244,7 @@ class PresentationToolbar extends Component {
? (
{
+ this.setState({ stateZoomValue: newValue }, () => {
change(newValue);
});
}
- if (isDifferent && !propsIsDifferente) this.setState({ stateValue: newValue });
+ if (isDifferent && !propsIsDifferente) this.setState({ stateZoomValue: newValue });
}
increment() {
const {
step,
} = this.props;
- const { stateValue } = this.state;
- const increaseZoom = stateValue + step;
+ const { stateZoomValue } = this.state;
+ const increaseZoom = stateZoomValue + step;
this.onChanger(increaseZoom);
}
@@ -113,8 +113,8 @@ export default class ZoomTool extends Component {
const {
step,
} = this.props;
- const { stateValue } = this.state;
- const decreaseZoom = stateValue - step;
+ const { stateZoomValue } = this.state;
+ const decreaseZoom = stateZoomValue - step;
this.onChanger(decreaseZoom);
}
@@ -149,17 +149,17 @@ export default class ZoomTool extends Component {
}
resetZoom() {
- const { stateValue, initialStateValue } = this.state;
- if (stateValue !== initialStateValue) this.onChanger(initialStateValue);
+ const { stateZoomValue, initialstateZoomValue } = this.state;
+ if (stateZoomValue !== initialstateZoomValue) this.onChanger(initialstateZoomValue);
}
render() {
const {
- value,
+ zoomValue,
minBound,
maxBound,
} = this.props;
- const { stateValue } = this.state;
+ const { stateZoomValue } = this.state;
return (
[
ZoomTool.renderAriaLabelsDescs(),
@@ -167,7 +167,7 @@ export default class ZoomTool extends Component {