Scroll on global mark and handle gone tab

This commit is contained in:
Shin'ya Ueoka 2018-10-12 14:59:45 +09:00
parent 003742ec51
commit e248477ecb
9 changed files with 49 additions and 13 deletions

View file

@ -1,6 +1,7 @@
export default class GlobalMark {
constructor(tabId, x, y) {
constructor(tabId, url, x, y) {
this.tabId0 = tabId;
this.url0 = url;
this.x0 = x;
this.y0 = y;
}
@ -9,6 +10,10 @@ export default class GlobalMark {
return this.tabId0;
}
get url() {
return this.url0;
}
get x() {
return this.x0;
}