-
-
Notifications
You must be signed in to change notification settings - Fork 294
Improve: Allow users to set map background alpha #7958
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
base: development
Are you sure you want to change the base?
Conversation
Caution: does this work when the 3D map is activated - given that that is a I would also note that setting the map background colour currently does not set it for the 3D map - it should do and I've previously prototyped code that did do it - IIRC you just need to find the place(s) where |
No this currently only effects the 2D map. Unsurprisingly, as Preferences > Mapper Colors > Background color has no influence on the background of the 3D map before this PR anyway. I am investigating the 3D map for the potential of tying everything together, but I would argue that even failing that, this PR would be fine in the sense that it adds the functionality to the 2D map without impacting the 3D map. |
I've fixed the 3D map background to work with colors as well as alpha values. This works at least for Win11. I haven't tested on other OSes yet and as you've mentioned SlySven, these things can get tricky depending on OS. It's also possible that setting this flag ( Screen.Recording.2025-07-17.182928.mp4I would appreciate some testing! <3 Edit: Tested works with Fedora / Wayland |
/create links |
2 similar comments
/create links |
/create links |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in my testing!
works great! |
Brief overview of PR changes/additions
Enable users to set alpha values for the mapper's background (e.g. 0 for a fully transparent map background).
Motivation for adding to Mudlet
This unlocks some really neat GUI options as I personally love having a map overlay on top of the main console.
Other info (issues closed, discussion etc)
Currently needs further testing with 3D maps etc. But making available ASAP for people to play with.
Pardon the light mode!
https://github.com/user-attachments/assets/0c501008-974b-41bd-b1be-ecba288f4c71
To make background transparent as in the video set the alpha to
0
in: Preferences > Mapper colors > Background color