From 9103717268046c4b6464108194132041580cc05c Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Sat, 8 Feb 2014 16:37:20 -0600 Subject: [PATCH] PDA-Nano refresh / scroll fix (Messages/Notes/Records) Problem: NanoUI auto updates, if you have a div with a scroll bar it will automatically scroll to the top. Solution: Remove the set size on these div's that have this issue and let the entire screen scroll instead since that isn't messed with on refresh. --- nano/templates/pda.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nano/templates/pda.tmpl b/nano/templates/pda.tmpl index 3f7ee3d3146..3a2dff64f7f 100644 --- a/nano/templates/pda.tmpl +++ b/nano/templates/pda.tmpl @@ -169,7 +169,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm Notes: -
+
{{:note}} @@ -250,7 +250,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm


Conversation with: {{:convo_name}} ({{:convo_job}})

-
+
{{for messages}} @@ -544,7 +544,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm {{else mode == 441}}

Medical Record

-
+
{{if records.general_exists == 1}} @@ -599,7 +599,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm {{else mode == 451}}

Security Record

-
+
{{if records.general_exists == 1}} @@ -712,7 +712,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
-
+
Current Approved Orders