mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-10 01:12:18 +00:00
Replace VueUI Titlebar backend with Karolis' version, fix window offsets (#10746)
Fixes some issues some users had with selecting/dragging VueUI windows with the Windows Taskbar unhidden Also cleans up the backend quite a bit thanks to @Karolis2011's rewrite
This commit is contained in:
@@ -127,9 +127,6 @@ main ui datum.
|
||||
* @return html code - text
|
||||
*/
|
||||
/datum/vueui/proc/generate_html(var/css_tag)
|
||||
var/debugtxt = ""
|
||||
if(user && check_rights(R_DEV, FALSE, user=user))
|
||||
debugtxt = "<div id=\"dapp\"></div>"
|
||||
return {"
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -148,7 +145,8 @@ main ui datum.
|
||||
<div id="app">
|
||||
Javascript file has failed to load. <a href="?src=\ref[src]&vueuiforceresource=1">Click here to force load resources</a>
|
||||
</div>
|
||||
[debugtxt]
|
||||
<div id="dapp">
|
||||
</div>
|
||||
<noscript>
|
||||
<div id='uiNoScript'>
|
||||
<h2>JAVASCRIPT REQUIRED</h2>
|
||||
|
||||
Reference in New Issue
Block a user