fix: gear toggle, shortcut sync, and chart scale interaction
This commit is contained in:
@ -498,6 +498,10 @@ constructor() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
initPriceScaleControls() {
|
||||||
|
const btnSettings = document.getElementById('btnSettings');
|
||||||
|
const settingsPopup = document.getElementById('settingsPopup');
|
||||||
|
|
||||||
// Settings Popup Toggle and Outside Click
|
// Settings Popup Toggle and Outside Click
|
||||||
if (btnSettings && settingsPopup) {
|
if (btnSettings && settingsPopup) {
|
||||||
btnSettings.addEventListener('click', (e) => {
|
btnSettings.addEventListener('click', (e) => {
|
||||||
@ -567,6 +571,7 @@ constructor() {
|
|||||||
window.setScaleMode(newMode);
|
window.setScaleMode(newMode);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
initNavigationControls() {
|
initNavigationControls() {
|
||||||
const chartWrapper = document.getElementById('chartWrapper');
|
const chartWrapper = document.getElementById('chartWrapper');
|
||||||
|
|||||||
Reference in New Issue
Block a user