Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
diff --git a/harness/testView.js b/harness/testView.js
index ac093c0..0dc4f03 100644
--- a/harness/testView.js
+++ b/harness/testView.js
@@ -130,6 +130,22 @@ function TestView(testSuiteVer, testViewInfo) {

var outputArea = createElement('div', 'outputarea');
var textArea = createElement('div', 'output');
+ textArea.setAttribute('tabindex', '0');
+ textArea.classList.add('focusable');
+ textArea.addEventListener('keydown', function(e) {
+
+ if (e.key === 'ArrowDown') {
+ textArea.scrollTop += 30;
+ }
+
+ if (e.key === 'ArrowUp') {
+
+ if (textArea.scrollTop > 0) {
+ textArea.scrollTop -= 30;
+ e.stopImmediatePropagation();
+ }
+ }
+ });
var textAreaContainer = createElement('div', 'outputcontainer');
textAreaContainer.appendChild(textArea);
outputArea.appendChild(textAreaContainer);
diff --git a/style.css b/style.css
index 07163f7..83a1807 100644
--- a/style.css
+++ b/style.css
@@ -211,7 +211,8 @@ div.container_hidden {
#output {
height: 250px;
width: 600px;
- overflow: hidden;
+ overflow-y: auto;
+ overflow-x: auto;
color: #369;
border-width: 1px;
border-style: solid;
1 change: 1 addition & 0 deletions prepare_submodule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ git apply ../patches/0011_js_mse_eme_mvt_Add_Graphics_Test.patch
git apply ../patches/0012_js_mse_eme_mvt_Add_LightningJS_Test.patch
git apply ../patches/0013_js_mse_eme_mvt_Add_Application_memory_Test.patch
git apply ../patches/0014_js_mse_eme_mvt_Add_Back_to_Main_Page_Button.patch
git apply ../patches/0015_js_mse_eme_mvt_Enable_Scrolling_in_Log_Window.patch
Loading