siyuan/app
Jeffrey Chen eac2902d9b
Improve tooltip (#13326)
* 减少元素更新

* 改进悬浮提示元素位置计算
messageElement.innerHTML = message; 会更新元素的内容,元素此时的 left 属性会对元素的宽度产生影响,导致更新后的元素(比如元素内的文本意外换行了)与直接新建的元素(元素内的文本不会换行)宽度不一致。messageElement.clientWidth 会获取到不符合预期的宽度,进而导致 left 计算错误。

* fix https://github.com/siyuan-note/siyuan/issues/12680

* 隐藏悬浮提示增加少许延迟,避免在相邻的元素间移动时悬浮提示频繁闪烁

* 频率高的放前面
2024-12-04 08:53:53 +08:00
..
appearance 📝 Improve text (#13352) 2024-12-03 18:29:14 +08:00
appx 🔖 Release v3.1.14 2024-12-03 08:36:34 +08:00
changelogs 📝 Update changelogs 2024-12-02 00:24:28 +08:00
electron ⬆️ eslint 2024-11-19 16:48:28 +08:00
guide 🎨 https://github.com/siyuan-note/siyuan/issues/13181 2024-11-28 11:37:36 +08:00
nsis 🎨 Update text https://github.com/siyuan-note/siyuan/issues/9568#issuecomment-2058982138 2024-04-17 09:19:16 +08:00
pandoc ♻️ Upgrade to Pandoc v3.5 https://github.com/siyuan-note/siyuan/issues/12750 2024-10-11 12:20:09 +08:00
src Improve tooltip (#13326) 2024-12-04 08:53:53 +08:00
stage 🎨 Improve image width setting https://github.com/siyuan-note/siyuan/issues/12516 https://github.com/siyuan-note/siyuan/issues/13327 2024-12-01 23:33:33 +08:00
.npmrc Update pnpm to 9.1 (#11423) 2024-05-16 08:39:07 +08:00
electron-builder-arm64.yml 🎨 Windoar arm64 and Linux arm64 no longer packing pandoc https://github.com/siyuan-note/siyuan/issues/11649 2024-06-05 11:50:16 +08:00
electron-builder-darwin-arm64.yml 🐛 Fix the pandoc packing with wrong platform https://github.com/siyuan-note/siyuan/issues/13110 2024-11-11 12:18:34 +08:00
electron-builder-darwin.yml 🎨 Change packing compression from "store" to "normal" on darwin 2024-05-29 09:56:38 +08:00
electron-builder-linux-arm64.yml 🐛 Fix the pandoc packing with wrong platform https://github.com/siyuan-note/siyuan/issues/13110 2024-11-11 12:18:34 +08:00
electron-builder-linux.yml 🎨 Add deb release package for Linux https://github.com/siyuan-note/siyuan/issues/11532 2024-06-03 01:37:25 +08:00
electron-builder.yml 🎨 Change packing compression from "normal" to "store" 2024-05-29 09:29:31 +08:00
eslint.config.mjs ⬆️ eslint 2024-11-19 16:48:28 +08:00
package.json 🔖 Release v3.1.14 2024-12-03 08:36:34 +08:00
pnpm-lock.yaml ⬆️ Bump cross-spawn from 7.0.3 to 7.0.6 in /app (#13199) 2024-11-20 00:04:50 +08:00
tsconfig.json 🎨 https://github.com/siyuan-note/siyuan/issues/11782 2024-10-23 11:47:06 +08:00
webpack.config.js 🎨 Update fonts (#13257) 2024-11-26 11:50:05 +08:00
webpack.desktop.js 🎨 Update fonts (#13257) 2024-11-26 11:50:05 +08:00
webpack.export.js 🎨 Update fonts (#13257) 2024-11-26 11:50:05 +08:00
webpack.mobile.js 🎨 Update fonts (#13257) 2024-11-26 11:50:05 +08:00