Context menu icon


#1

I can’t get to work context menu icon :confused: I tryed this (and similar) for no result:

div.gdDialog({
				popout: !0,					
				close: !0,
				icon: GDT.getRelativePath() + "menuIcon.svg",
				onClose: function () {
					GameManager.togglePause();
					GameManager.resume(true);
				},
				onOpen: function() {
					GameManager.togglePause();
				}
			})

Any ideas?
(menu working fine, just no icon displayed)


#2

Anyone?


#3

Context Menu Icon?


#4

Anyway can you try enabling the developer console and send me what you see?


#5

This:
https://steamuserimages-a.akamaihd.net/ugc/922550027494614028/C20E7A7B5BBB7FF5FC664BDC8682B394B86CEBF5/?interpolation=lanczos-none&output-format=jpeg&output-quality=95&fit=inside|637%3A358

like reseatch option has icon of magnifying glass.

Wooah… so there is console, how i can enable it? :smile:


#6

Soooooooo?


#7

Ehh i think i found problem:

g.icon.startsWith("./images/context menu icons") && c(n.find(".icon"))) : n.find(".icon").attr("display", "hidden");

…so basicly i can’t add icon with mod, cause it’s path will be somwhere else. Need to make some workaround.