Merge branch 'staging' into cursor

pull/1/head
yflory 6 years ago
commit 32fc941141

@ -163,7 +163,6 @@ define([
data.color = Util.find(ctx.store.proxy, ['settings', 'general', 'cursor', 'color']); data.color = Util.find(ctx.store.proxy, ['settings', 'general', 'cursor', 'color']);
data.name = ctx.store.proxy[Constants.displayNameKey] || Messages.anonymous; data.name = ctx.store.proxy[Constants.displayNameKey] || Messages.anonymous;
data.avatar = Util.find(ctx.store.proxy, ['profile', 'avatar']); data.avatar = Util.find(ctx.store.proxy, ['profile', 'avatar']);
console.log(data.color);
c.cursor = data; c.cursor = data;
sendMyCursor(ctx, client); sendMyCursor(ctx, client);
cb(); cb();

@ -433,7 +433,7 @@ define([
$(el).css('background-color', cursor.color); $(el).css('background-color', cursor.color);
} }
if (cursor.name) { if (cursor.name) {
$(el).attr('title', cursor.name); $(el).attr('title', makeTippy(cursor));
} }
marks[id] = editor.setBookmark(cursorPosS, { widget: el }); marks[id] = editor.setBookmark(cursorPosS, { widget: el });
} else { } else {

Loading…
Cancel
Save