mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Misc fixes for statpanel (#9334)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4e277de29c
commit
51a06b4c2d
@@ -28,7 +28,7 @@
|
||||
|
||||
/obj/machinery/embedded_controller/Topic()
|
||||
. = ..()
|
||||
stack_trace("WARNING: Embedded controller [src] ([type]) had Topic() called unexpectedly. Please report this.")
|
||||
// stack_trace("WARNING: Embedded controller [src] ([type]) had Topic() called unexpectedly. Please report this.") // statpanel means that topic can always be called for clicking
|
||||
|
||||
/obj/machinery/embedded_controller/tgui_act(action, params)
|
||||
if(..())
|
||||
@@ -106,4 +106,4 @@
|
||||
/obj/machinery/embedded_controller/radio/proc/set_frequency(new_frequency)
|
||||
radio_controller.remove_object(src, frequency)
|
||||
frequency = new_frequency
|
||||
radio_connection = radio_controller.add_object(src, frequency, radio_filter)
|
||||
radio_connection = radio_controller.add_object(src, frequency, radio_filter)
|
||||
|
||||
@@ -535,8 +535,7 @@
|
||||
onclose(usr, "[name]")
|
||||
if(href_list["flavor_change"])
|
||||
update_flavor_text()
|
||||
// ..()
|
||||
return
|
||||
return ..()
|
||||
|
||||
|
||||
/mob/proc/pull_damage()
|
||||
|
||||
@@ -237,3 +237,44 @@ body.dark {
|
||||
.dark .grid-item:active .grid-item-text {
|
||||
background-color: #313131;
|
||||
}
|
||||
|
||||
/* required for alt click menu */
|
||||
.link {
|
||||
display: inline;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 7px 14px;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
margin: 2px 2px;
|
||||
}
|
||||
|
||||
.linkelem {
|
||||
display: inline;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0px 14px;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
margin: 2px 2px;
|
||||
}
|
||||
|
||||
.dark .link {
|
||||
color: #abc6ec;
|
||||
}
|
||||
|
||||
.dark .linkelem {
|
||||
color: #abc6ec;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.linkelem:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@@ -500,7 +500,7 @@ function draw_listedturf() {
|
||||
table.appendChild(b);
|
||||
table.appendChild(document.createElement("br"));
|
||||
}
|
||||
document.getElementById("statcontent").appendChild(table);
|
||||
statcontentdiv.appendChild(table);
|
||||
}
|
||||
|
||||
function remove_listedturf() {
|
||||
|
||||
Reference in New Issue
Block a user