mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 15:24:00 +01:00
Help screen 50px less, only focus if not in find
Also only focus if we have an open file
This commit is contained in:
@@ -1625,7 +1625,7 @@ var ICEcoder = {
|
||||
|
||||
// Show the help screen
|
||||
helpScreen: function() {
|
||||
top.get('mediaContainer').innerHTML = '<iframe src="lib/help.php" class="whiteGlow" style="width: 800px; height: 490px"></iframe>';
|
||||
top.get('mediaContainer').innerHTML = '<iframe src="lib/help.php" class="whiteGlow" style="width: 800px; height: 440px"></iframe>';
|
||||
top.ICEcoder.showHide('show',top.get('blackMask'));
|
||||
},
|
||||
|
||||
@@ -2281,8 +2281,10 @@ var ICEcoder = {
|
||||
return false;
|
||||
|
||||
// Space outisde of editor (Focus on editor)
|
||||
} else if(key==32 && area!="content") {
|
||||
top.ICEcoder.getcMInstance().focus();
|
||||
} else if(key==32 && area!="content" && document.activeElement.id!="find") {
|
||||
if (top.ICEcoder.getcMInstance()) {
|
||||
top.ICEcoder.getcMInstance().focus();
|
||||
}
|
||||
return false;
|
||||
|
||||
// CTRL+J (Jump to definition)
|
||||
|
||||
Reference in New Issue
Block a user