Skip to content

Commit

Permalink
Fix the border group related code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tipx-L committed Sep 5, 2023
1 parent f1c6d75 commit 122177e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
12 changes: 5 additions & 7 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -6066,7 +6066,7 @@ game.import("extension", function (lib, game, ui, get, ai, _status) {
},
set: function (value) {
this._group = value;
this.node.campWrap.dataset.camp = get.bordergroup(this.name);
this.node.campWrap.dataset.camp = get.bordergroup(this.name, true) || value;

if (value) {
if (decadeUI.config.campIdentityImageMode) {
Expand Down Expand Up @@ -10109,11 +10109,9 @@ game.import("extension", function (lib, game, ui, get, ai, _status) {
intro: (function () {
var log = [
'有bug先检查其他扩展,不行再关闭UI重试,最后再联系作者。',
'当前版本:1.2.0.220114.32(Show-K修复版)',
'更新日期:2023-09-02',
'- 添加【霹雳投石车】和【如意金箍棒】的美化卡牌。(感谢<i>七.</i>的帮助)',
'- 根据get.bordergroup支持“身在XX心在X”的效果。',
'- 更新扩展装备栏数量时会在视觉上改变空装备栏的数量。',
'当前版本:1.2.0.220114.33(Show-K修复版)',
'更新日期:2023-09-05',
'- 修复get.bordergroup相关的代码。',
'《十周年UI》采用GNU通用公共许可证v3.0授权',
'仓库链接:',
'<a href="https://github.com/Tipx-L/decade-ui" target="_blank">https:<wbr>//<wbr>github<wbr>.com<wbr>/Tipx<wbr>-L<wbr>/decade<wbr>-ui</a>',
Expand Down Expand Up @@ -10146,7 +10144,7 @@ game.import("extension", function (lib, game, ui, get, ai, _status) {
author: "Show-K←寰宇星城←disgrace2013←短歌 QQ464598631",
diskURL: "https://ghproxy.com/https://github.com/Tipx-L/decade-ui/releases/latest/download/decade-ui.zip",
forumURL: "https://github.com/Tipx-L/decade-ui/issues",
version: "1.2.0.220114.32",
version: "1.2.0.220114.33",
},
editable: false
};
Expand Down
19 changes: 10 additions & 9 deletions player.css
Original file line number Diff line number Diff line change
Expand Up @@ -1082,19 +1082,20 @@
/*玩家身份标记*/
.player>.identity,
#arena>.player:not(.minskin)>.identity {
left: auto;
top: 1px;
right: 1px;
width: 29px;
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: initial;
font-size: 31px;
height: 31px;
left: auto;
line-height: 31px;
font-size: 31px;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
z-index: 89;
right: 1px;
top: 1px;
transform: none;
transition: none;
width: 29px;
z-index: 89;
}

.player>.identity[data-color='rYe'] {
Expand Down

0 comments on commit 122177e

Please sign in to comment.