Skip to content

Commit

Permalink
v2.1.4: update info
Browse files Browse the repository at this point in the history
  • Loading branch information
mustakshif committed Feb 16, 2024
1 parent eb858d7 commit 0980908
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 19 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
### v2.1.4

* 优化提示文本的出现时机,改善界面元素反馈频率,减少注意力分散
* 优化侧栏面板宽度调整的流畅度
* 提高 `asri-full-width-display` 属性样式响应效率
* 修复 Mac 端部分情况下切换全屏幕后 `顶栏` 左侧图标错位的问题
* 修复 `emoji 面板` 行间距不一致的问题

<br />

* Improved the timing of tooltips appearance to optimize interface feedback frequency and reduce distraction.
* Optimized the smoothness of adjusting the sidebar panel width.
* Improved the responsiveness of `asri-full-width-display` attribute style.
* Fixed the issue of icon misalignments in the left `top bar` on some situations when switching from/to full screen on Mac.
* Fixed the inconsistent row spacing issue in the `emoji panel`.

---

### v2.1.3

* `asri-full-width-display`(全宽显示)属性新增对小窗的支持
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ An ultra-modern theme for [SiYuan Note](https://github.com/siyuan-note/siyuan),

## Latest Updates

### v2.1.3
### v2.1.4

* Added `asri-full-width-display` attribute's support for small windows.
* Optimized the animation trigger timing for `inline memos` and `block quotes` to avoid flickering when the mouse hovers over them.
* Adjusted the margin of the full-width displayed `superblocks`.
* Fixed the scrolling lag in the `tab bar` and the animation lag when hovering over `inline memeos`.
* Fixed the link to the English version of the theme instructions in the Chinese version.
* Improved the timing of tooltips appearance to optimize interface feedback frequency and reduce distraction.
* Optimized the smoothness of adjusting the sidebar panel width.
* Improved the responsiveness of `asri-full-width-display` attribute style.
* Fixed the issue of icon misalignments in the left `top bar` on some situations when switching from/to full screen on Mac.
* Fixed the inconsistent row spacing issue in the `emoji panel`.

Check all updates [here](./CHANGELOG.md).

Expand Down Expand Up @@ -48,7 +48,7 @@ Check all updates [here](./CHANGELOG.md).

### 👆 Delicate and Smooth Interaction

* 🧭 Improved animation's responding timing, enhancing interface feedback frequency and reducing distraction
* 🧭 Improved animation responding timing to optimize interface feedback frequency and reduce distraction
* ⚙️ Redesigned the styles of controls for iFrame, videos, images, etc.
* 💫 Appropriately added lively animations, enriching the interactive experience
* 🚀 Maintained a high level of smooth performance
Expand Down
12 changes: 6 additions & 6 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Asri 是一款极富现代感的[思源笔记](https://github.com/siyuan-note/si

## 最近更新

### v2.1.3
### v2.1.4

* `asri-full-width-display`(全宽显示)属性新增对小窗的支持
* 优化 `行内备注``块引用` 的动画触发时机,避免鼠标划过时闪烁
* 调整全宽显示 `超级块` 的外边距
* 修复 `页签栏` 滚动卡顿和 `行内备注` 鼠标悬浮动画卡顿的问题
* 修复中文主题说明里英文版说明的链接
* 优化提示文本的出现时机,改善界面元素反馈频率,减少注意力分散
* 优化侧栏面板宽度调整的流畅度
* 提高 `asri-full-width-display` 属性样式响应效率
* 修复 Mac 端部分情况下切换全屏幕后 `顶栏` 左侧图标错位的问题
* 修复 `emoji 面板` 行间距不一致的问题

点击[这里](./CHANGELOG.md)查看全部更新日志。

Expand Down
6 changes: 1 addition & 5 deletions theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@
// dragRectLeftInitial = fromFullscreen ? dragRectLeftInitial + 80 : dragRectLeftInitial;
fromFullscreen = false;
}

console.log(dragRectLeftInitial);
}
calcTopbarSpacings();
updateWndEls();
Expand Down Expand Up @@ -233,7 +231,7 @@
rightSpacing = document.getElementById('AsriTopbarRightSpacing');
topbar = asriDoms.toolbar;

layoutsCenterRect = asriDoms.layouts.querySelector('.layout__center').getBoundingClientRect();
layoutsCenterRect = asriDoms.layouts.querySelector('.layout__center')?.getBoundingClientRect();
rightSpacingRect = rightSpacing.getBoundingClientRect();
barSyncRect = asriDoms.barSync.getBoundingClientRect();
barForwardRect = asriDoms.barForward.getBoundingClientRect();
Expand All @@ -251,8 +249,6 @@
else if (isMacOS && !isInBrowser) topbar.style.setProperty('--topbar-left-spacing', centerRectLeft - barSyncRect.right + 4 + 'px');
else topbar.style.setProperty('--topbar-left-spacing', centerRectLeft - barForwardRect.right + 4 + 'px');

console.log('center '+centerRectLeft, 'drag '+dragRectLeftInitial)

// 右侧
if (centerRectRight < dragRectRightInitial - 8) {
topbar.style.setProperty('--topbar-right-spacing', 0);
Expand Down
2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Asri",
"author": "MUSTAKSHIF",
"url": "https://github.com/mustakshif/Asri-for-SiYuan",
"version": "2.1.3",
"version": "2.1.4",
"displayName": {
"default": "Asri",
"zh_CN": "Asri",
Expand Down

0 comments on commit 0980908

Please sign in to comment.