[PR #2523] [MERGED] Hide player arrows on a map in an item frame #4393

Closed
opened 2026-11-03 04:16:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2523
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/framed-map-decorations


📝 Commits (1)

  • 7f6e47b Hide player arrows and markers on a map in an item frame

📊 Changes

2 files changed (+19 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/frames.rs (+1 -1)
📝 crates/horizon-client/src/game/maps.rs (+18 -3)

📄 Description

What and why

A map hung in an item frame drew your own player arrow (and the other player arrows and markers), as if you were holding it. In vanilla the map in a frame leaves those out. Now only the decorations that show on frames are drawn there: structure icons, targets, banners and the frame marker. Held maps are unchanged.

The depth offset of each decoration now counts only the decorations that were drawn, like vanilla.

Banner labels are not part of this change: Horizon has no banner markers on maps yet, so there is no name to draw.

Vanilla reference

  • MapRenderer.render: if (!showOnlyFrame || decoration.renderOnFrame).
  • MapDecorationTypes: showOnItemFrame is false for player, red_marker, blue_marker, player_off_map and player_off_limits.

Self-check

cargo check -p horizon-client passes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2523 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/framed-map-decorations` --- ### 📝 Commits (1) - [`7f6e47b`](https://github.com/horizon-rust/horizon/commit/7f6e47b02e65a236900b49f9fd0fd71844637c7d) Hide player arrows and markers on a map in an item frame ### 📊 Changes **2 files changed** (+19 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/frames.rs` (+1 -1) 📝 `crates/horizon-client/src/game/maps.rs` (+18 -3) </details> ### 📄 Description ## What and why A map hung in an item frame drew your own player arrow (and the other player arrows and markers), as if you were holding it. In vanilla the map in a frame leaves those out. Now only the decorations that show on frames are drawn there: structure icons, targets, banners and the frame marker. Held maps are unchanged. The depth offset of each decoration now counts only the decorations that were drawn, like vanilla. Banner labels are not part of this change: Horizon has no banner markers on maps yet, so there is no name to draw. ## Vanilla reference - `MapRenderer.render`: `if (!showOnlyFrame || decoration.renderOnFrame)`. - `MapDecorationTypes`: `showOnItemFrame` is false for `player`, `red_marker`, `blue_marker`, `player_off_map` and `player_off_limits`. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4393
No description provided.