mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-25 07:19:13 +01:00
fix bookmark setting edge not updating
This commit is contained in:
parent
c8ca065bd9
commit
bdfc1be492
@ -1106,7 +1106,6 @@ export const BookmarkForm = function({
|
||||
};
|
||||
|
||||
if (bookmarkData.link.display.visual.show || bookmarkData.link.display.name.show) {
|
||||
console.log(this.control.bookmark.display.translate.label);
|
||||
this.control.bookmark.display.translate.label.classList.remove('disabled');
|
||||
this.control.bookmark.display.translate.x.enable();
|
||||
this.control.bookmark.display.translate.y.enable();
|
||||
|
@ -179,8 +179,25 @@ bookmarkSetting.general = (parent) => {
|
||||
path: 'bookmark.newTab',
|
||||
labelText: 'Open Bookmarks in a new tab',
|
||||
action: () => {
|
||||
|
||||
groupAndBookmark.render();
|
||||
|
||||
if (bookmarkSetting.edge.general.size) {
|
||||
|
||||
if (state.get.current().bookmark.show && bookmark.tile.current.length > 0) {
|
||||
|
||||
bookmarkSetting.edge.general.size.update.primary(bookmark.tile.current[0].tile());
|
||||
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
bookmarkSetting.edge.general.size = new Edge({ primary: bookmark.tile.current[0].tile(), secondary: [bookmark.element.area] });
|
||||
|
||||
};
|
||||
|
||||
data.save();
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user