Scroll on global mark and handle gone tab
This commit is contained in:
parent
003742ec51
commit
e248477ecb
9 changed files with 49 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Reference in a new issue