Merge pull request #12297 from ramonlsouza/fix-toolbar-crash
fix: toolbar crash with presenter changes
This commit is contained in:
commit
45db82dbdb
@ -313,8 +313,8 @@ class WhiteboardToolbar extends Component {
|
|||||||
}
|
}
|
||||||
// 1st case a)
|
// 1st case a)
|
||||||
this.colorListIconColor.beginElement();
|
this.colorListIconColor.beginElement();
|
||||||
// 2nd case - never happens when the text tool is selected
|
// 2nd case
|
||||||
} else if (thicknessSelected.value !== prevState.thicknessSelected.value) {
|
} else if (thicknessSelected.value !== prevState.thicknessSelected.value && annotationSelected.value !== 'text') {
|
||||||
this.thicknessListIconRadius.beginElement();
|
this.thicknessListIconRadius.beginElement();
|
||||||
// 3rd case
|
// 3rd case
|
||||||
} else if (annotationSelected.value !== 'text'
|
} else if (annotationSelected.value !== 'text'
|
||||||
|
Loading…
Reference in New Issue
Block a user