Repository navigation
fix(presentation): slim ground marker border and fade the fill (#49) - #65
Merged
Merged
Conversation
Beta issue #49: the shared marker texture drew a 6-of-64 px border (~19% of the quad edge) over a 0.28-alpha fill. In a clump the fills stacked into an opaque green carpet that hid the selected bodies — the visible half of #50. Border is now 2-of-64, fill alpha 0.10. One texture serves four consumers, all checked: SelectionMarkerView, PlacementGhostView, RallyFlagView (flag + line), ConstructionSite- MarkerView. Thickness stays texture-relative by design; no screen- pixel promise is possible with this technique.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was
GroundMarkerVisuals:BorderPixels6 → 2 (vonTextureSize = 64), Füll-Alpha 0.28 → 0.10. Dazu ein CHANGELOG-Eintrag unter[Unreleased].Warum
Beta-Issue #49: Der geteilte Markertextur-Rand war 6 von 64 px (~19 % der Quad-Kante) über einer 0.28-Alpha-Füllung. Im Pulk stapelten sich die Füllungen zu einem undurchsichtigen grünen Teppich, der die ausgewählten Einheiten verdeckte — die sichtbare Hälfte von #50.
Die Dicke bleibt bewusst texturrelativ formuliert: Die Bildschirmdicke ändert sich mit jedem Zoomschritt, ein Bildschirmpixel-Versprechen ist mit dieser Technik nicht einlösbar.
Betroffene Bereiche
Eine Textur, vier Konsumenten — eine Zahl ändert vier Optiken, alle vier im Code geprüft:
SelectionMarkerViewPlacementGhostViewRallyFlagView(Fahne + Linie — die Linie ist randlos und liest nur über die Füllung; 0.10 erhält sie als schwachen Bodenschimmer)ConstructionSiteMarkerViewKeine Simulationsdatei berührt, keine Baseline betroffen.
Nachweis (ehrlich)
dotnet test-Lauf —global.jsonpinnt SDK 8.0.318 (rollForward: disable), installiert ist 10.0.302. Nachweis läuft über die CI dieses PR. Die Quelltext-Wächter (PresentationSourceBoundaryTests, asmdef-Rangcheck) greifen auf dieser Datei.Changelog
Eine Zeile unter
[Unreleased]→ „#49: Auswahlrahmen und Füllung entschärft".