korlibs / korlibs/korge

Make UIText open

Open
#394 1 comment 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Kotlin
Stars
3k
Forks
148
Avg merge
13h 44m
Merged PRs (30d)
1

Description

I think UIText class https://github.com/korlibs/korge/blob/89bbcc925e5320aedec688f922f3cd6c73c48d39/korge/src/commonMain/kotlin/com/soywiz/korge/ui/UIText.kt#L15 should be open because updateState isn't usable as is. It could be really simpler to allow this behaviour to be specified.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at korge/src/commonMain/kotlin/com/soywiz/korge/ui/UIText.kt around line 15 and inspect the UIText declaration and updateState. Make sure UIText can be subclassed so updateState behavior can be customized; done means an overriding subclass is possible without changing existing UIText usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
game-dev
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.