Only show the user colors in the userlist if the app supports it

This commit is contained in:
yflory
2018-12-06 13:59:56 +01:00
parent 081fc01694
commit 600c984576
2 changed files with 18 additions and 3 deletions

View File

@@ -647,7 +647,10 @@ define([
setContentGetter: function (cg) { contentGetter = cg; },
// Set the function providing the cursor position when request by the framework.
setCursorGetter: function (cg) { cursorGetter = cg; },
setCursorGetter: function (cg) {
toolbar.showColors();
cursorGetter = cg;
},
onCursorUpdate: evCursorUpdate.reg,
updateCursor: function () {
if (cursor && cursorGetter) {