mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🐛 back to the zoom in block
This commit is contained in:
parent
9383c943b3
commit
a974bbdece
5 changed files with 46 additions and 49 deletions
|
|
@ -409,6 +409,10 @@ export class Wnd {
|
|||
|
||||
public switchTab(target: HTMLElement, pushBack = false, update = true) {
|
||||
setPanelFocus(this.headersElement.parentElement.parentElement);
|
||||
// https://github.com/siyuan-note/siyuan/issues/8233
|
||||
if (target.classList.contains("item--focus")) {
|
||||
return;
|
||||
}
|
||||
let currentTab: Tab;
|
||||
this.children.forEach((item) => {
|
||||
if (target === item.headElement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue