Fix infinite function call recursion in whiteboard

pull/1/head
ClemDee 2019-08-12 11:44:04 +02:00
parent 06f224bdfe
commit b481b99441
1 changed files with 6 additions and 0 deletions

View File

@ -254,6 +254,12 @@ define([
updateLocalPalette(palette);
metadataMgr.onChange(function () {
var md = metadataMgr.getMetadata();
if (md.palette) {
updatePalette(md.palette);
}
});
return {
palette: palette,