mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 01:06:01 +00:00
zoom - removed from settings, added to window menu
This commit is contained in:
@@ -58,7 +58,6 @@ export const commandsCustomized = derived([commands, commandsSettings], ([$comma
|
||||
|
||||
// export const visibleToolbar = writableWithStorage(true, 'visibleToolbar');
|
||||
export const visibleToolbar = writable(false);
|
||||
export const zoomKoef = writableWithStorage(1, 'zoomKoef');
|
||||
export const leftPanelWidth = writableWithStorage(300, 'leftPanelWidth');
|
||||
export const currentDropDownMenu = writable(null);
|
||||
export const openedModals = writable([]);
|
||||
@@ -102,13 +101,6 @@ visibleToolbar.subscribe(value => {
|
||||
});
|
||||
export const getVisibleToolbar = () => visibleToolbarValue;
|
||||
|
||||
let zommKoefValue = null;
|
||||
zoomKoef.subscribe(value => {
|
||||
zommKoefValue = value;
|
||||
document.body.style.setProperty('zoom', zommKoefValue);
|
||||
});
|
||||
export const getZoomKoef = () => zommKoefValue;
|
||||
|
||||
let openedTabsValue = null;
|
||||
openedTabs.subscribe(value => {
|
||||
openedTabsValue = value;
|
||||
|
||||
Reference in New Issue
Block a user