Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小地图渲染定制节点图片不渲染 #4527

Open
colonot opened this issue Dec 13, 2024 · 1 comment
Open

小地图渲染定制节点图片不渲染 #4527

colonot opened this issue Dec 13, 2024 · 1 comment
Labels
bug:minimap minimap plugin bug

Comments

@colonot
Copy link

colonot commented Dec 13, 2024

问题描述

设置小地图的容器display='none'时,往画布中拖拽添加包含图片的定制节点rect,再开启小地图容器显示display='block',小地图上只渲染了rect节点,没有渲染节点上的图片。display='block'期间添加的定制节点图片会正常渲染,隐藏时图片不能渲染。

重现链接

怎么让小地图在隐藏时添加含图片的定制节点也渲染图片

重现步骤

1.默认隐藏小地图,点击拖拽添加含图片的定制节点。2.开启小地图,只渲染了定制节点继承的父节点rect,没有渲染节点上的图片。3.开启小地图,点击拖拽添加含图片的定制节点,能正常渲染定制节点rect和节点上面的图片。

预期行为

让小地图在隐藏时添加含图片的定制节点也渲染图片

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

default.mp4

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Dec 13, 2024

👋 @colonot

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@NewByVector NewByVector added the bug:minimap minimap plugin bug label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:minimap minimap plugin bug
Projects
None yet
Development

No branches or pull requests

2 participants