Skip to content

Aura Designer: default new icon/square border inset to 0#138

Open
Krathe82 wants to merge 1 commit into
DanderBot:mainfrom
Krathe82:pr/ad-border-inset-default
Open

Aura Designer: default new icon/square border inset to 0#138
Krathe82 wants to merge 1 commit into
DanderBot:mainfrom
Krathe82:pr/ad-border-inset-default

Conversation

@Krathe82

@Krathe82 Krathe82 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Problem

New Aura Designer icon and square indicators defaulted their Border Inset to 1, so a freshly added indicator — and the reset-to-default button — sat 1px inset instead of flush against the icon edge. This was inconsistent with the bar and border indicator types, and with every main-frame border, which all default to 0.

Fix

Set the icon and square inset default to 0 across the three places that have to agree, or the editor and the rendered result disagree:

  • TYPE_DEFAULTS — drives the editor slider and reset-to-default
  • the EnsureTypeConfig seed — the older per-type sub-config shape
  • the render fallback in Indicators.lua (config.BorderInset or … or 10)

Border Offset X/Y were already 0. Existing indicators that stored an explicit inset are unaffected — only ones relying on the default shift 1 → 0 (a 1px change, and only where the inset was never customised).

New icon and square indicators defaulted their Border Inset to 1, so a fresh
indicator (and the reset-to-default button) sat 1px inset instead of flush —
inconsistent with the bar and border indicator types, and with every main-frame
border, which all default to 0.

Flipped icon + square inset to 0 across the three places that must agree:
- TYPE_DEFAULTS (drives the editor slider + reset)
- the EnsureTypeConfig seed (older per-type sub-config shape)
- the render fallback in Indicators.lua (config.BorderInset or ... or 1 -> 0)

Border Offset X/Y were already 0. Existing indicators that stored an explicit
inset are unaffected; only ones relying on the default shift 1 -> 0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant