Proper fix for icon scaling preferences
This commit is contained in:
+3
-2
@@ -68,10 +68,11 @@ GLOBAL_LIST_EMPTY(menulist)
|
|||||||
var/atom/verb/verbpath = Get_checked(C)
|
var/atom/verb/verbpath = Get_checked(C)
|
||||||
if (!verbpath || !(verbpath in typesof("[type]/verb")))
|
if (!verbpath || !(verbpath in typesof("[type]/verb")))
|
||||||
return
|
return
|
||||||
|
|
||||||
if (copytext(verbpath.name,1,2) == "@")
|
if (copytext(verbpath.name,1,2) == "@")
|
||||||
winset(C, null, "command = [copytext(verbpath.name,2)]")
|
winset(C, null, list2params(list("command" = copytext(verbpath.name,2))))
|
||||||
else
|
else
|
||||||
winset(C, null, "command = [replacetext(verbpath.name, " ", "-")]")
|
winset(C, null, list2params(list("command" = replacetext(verbpath.name, " ", "-"))))
|
||||||
|
|
||||||
/datum/verbs/menu/Icon/Size
|
/datum/verbs/menu/Icon/Size
|
||||||
checkbox = CHECKBOX_GROUP
|
checkbox = CHECKBOX_GROUP
|
||||||
|
|||||||
Reference in New Issue
Block a user