X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fviews%2FGame.vue;h=0662fe840d78f059bd35ad5309ede2669a0de99c;hb=a2bd587aebc0104db71f9404aadeec72c9141102;hp=d4a7b6f2a7e65adfa764590faa23f2afc2f1b633;hpb=022f3775e71e6b0b4c41d17e1c485e8445848387;p=vchess.git diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index d4a7b6f2..0662fe84 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -460,6 +460,9 @@ export default { this.people[data.from] = { focus: true }; this.newConnect[data.from] = true; //for self multi-connects tests this.send("askidentity", { target: data.from }); + } else if (!this.people[data.from].focus) { + this.people[data.from].focus = true; + this.$forceUpdate(); //TODO: shouldn't be required } break; case "disconnect":