replace_html & DPI Scaling support

This commit is contained in:
ItsSelis
2022-05-25 21:40:01 +02:00
parent f8baf84c02
commit e10212d4c8
8 changed files with 100 additions and 53 deletions
+11
View File
@@ -298,6 +298,17 @@
: "[id].browser:update")
message_queue = null
/**
* public
*
* Replaces the inline HTML content.
*
* required inline_html string HTML to inject
*/
/datum/tgui_window/proc/replace_html(inline_html = "")
client << output(url_encode(inline_html), is_browser \
? "[id]:replaceHtml" \
: "[id].browser:replaceHtml")
/**
* private