道具栏小修复

This commit is contained in:
strawberry 2025-09-07 12:05:37 +08:00
parent ebcc389379
commit 52b7e18592

View File

@ -6537,10 +6537,9 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
core.fillText(ctx, text, x + r, y + lineWidth / 2 + 2, style, font);
var todo = function () {
//debugger;
var id = getSelectedItem();
if (!id) return
let hideInfo = core.getFlag("hideInfo", {});
console.log(id);
if (hideInfo.hasOwnProperty(id)) {
hideInfo[id] = !hideInfo[id];
core.setFlag("hideInfo", hideInfo);