mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Gives flick_visual MOUSE_OPACITY_TRANSPARENT (#77155)
## About The Pull Request #76937 introduced a temporary movable `flick_visual` to act as an image for overlays and whatnot. this used to be handled by images and i'm not sure whether images were mouse transparent or were just inheriting parent ID but i'm assuming since images are kinda virtual (from what i know anyway) they don't interrupt clicks. since flick_visual is an atom, it intercepts mouse clicks, which caused #77142 this PR gives flick_visual `MOUSE_OPACITY_TRANSPARENT` during `flick_overlay_view()`, which makes it no longer intercept clicks ## Why It's Good For The Game Fixes #77142 and possibly some other things that use that proc to show animations or overlays
This commit is contained in:
@@ -179,6 +179,7 @@
|
||||
// This is faster then pooling. I promise
|
||||
var/atom/movable/flick_visual/visual = new()
|
||||
visual.appearance = passed_appearance
|
||||
visual.mouse_opacity = MOUSE_OPACITY_TRANSPARENT
|
||||
// I hate /area
|
||||
var/atom/movable/lies_to_children = src
|
||||
lies_to_children.vis_contents += visual
|
||||
|
||||
Reference in New Issue
Block a user