Skip to content

Add customizable tick marks and upgrade LibEQOL#72

Open
taijuten wants to merge 4 commits intoSnsei987:mainfrom
taijuten:custom-tick-marks
Open

Add customizable tick marks and upgrade LibEQOL#72
taijuten wants to merge 4 commits intoSnsei987:mainfrom
taijuten:custom-tick-marks

Conversation

@taijuten
Copy link
Contributor

@taijuten taijuten commented Jan 26, 2026

Features:

  • Added support for up to 4 custom tick marks per resource type
  • Each tick can be configured with:
    • Enable/disable toggle
    • Resource type selection (9 power types supported)
    • Mode: Percentage (0-100%) or Fixed value
    • Numeric value input with validation (range selector can't be dynamic based on resource type)
  • All tick settings grouped under collapsible 'Tick Settings' section
  • Ticks are filtered by resource type and rendered based on mode
  • Locale strings added for all new settings

Library Updates:

  • Upgraded LibEQOL from 1.0.0 to 15.0.0-beta-2
  • Leverages new Input setting type with built-in numeric validation
image

Features:
- Added support for up to 4 custom tick marks per resource type
- Each tick can be configured with:
  * Enable/disable toggle
  * Resource type selection (9 power types supported)
  * Mode: Percentage (0-100%) or Fixed value
  * Numeric value input with validation
- All tick settings grouped under collapsible 'Tick Settings' section
- Ticks are filtered by resource type and rendered based on mode
- Locale strings added for all new settings

Library Updates:
- Upgraded LibEQOL from 1.0.0 to 15.0.0-beta-2
- Leverages new Input setting type with built-in numeric validation
@taijuten
Copy link
Contributor Author

Addresses #73

taijuten and others added 3 commits January 27, 2026 08:41
- Remove unused locale strings (ENTER_TICK_VALUES, ENABLE_CUSTOM_TICK, ADD_CUSTOM_TICK, TICK_VALUE_*_TOOLTIP, REMOVE_TICK)
- Update tick settings order numbers to follow X00 pattern for categories (400 instead of 305)
Use tickPositions[i] instead of (i/max) for correct position calculation.
Merge a9480c0 added pixel-perfect scaling but incorrectly changed the
position lookup from the pre-calculated tickPositions array to a simple
division based on loop index, causing ticks to render at wrong positions.
@Snsei987 Snsei987 linked an issue Jan 28, 2026 that may be closed by this pull request
@Snsei987
Copy link
Owner

Snsei987 commented Feb 7, 2026

That's very cool, will revisit once LibEQoL is updated

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.

Feature request: tick markers

2 participants