From 0a289d2468860c2f1d5386a1b93d595397361309 Mon Sep 17 00:00:00 2001 From: Matthew Kastor Date: Mon, 1 Apr 2013 18:12:29 -0400 Subject: [PATCH] removed left property assignment When the editor takes up the entire window and the window is only half the size of my screen, the menus get crunched up horribly. I'll provide for closing the overlay by pressing esc in case the overlay's contents take up the entire screen. If ace is to be used in very small frames then implementors will need to provide styling information in css to control how the settings menu looks. --- lib/ace/ext/show_settings_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/ext/show_settings_menu.js b/lib/ace/ext/show_settings_menu.js index 823ca3d1..cccc826c 100644 --- a/lib/ace/ext/show_settings_menu.js +++ b/lib/ace/ext/show_settings_menu.js @@ -366,7 +366,7 @@ define(function(require, exports, module) { cleanupElementsList(); // dump the entries from the elements list and wrap them up in a div // then put the div into the generic menu and show it. - overlayPage(wrapElements(), '0', '0', '0', '75%'); + overlayPage(wrapElements(), '0', '0', '0'); } /** * This builds the settings menu and selects