ie8 fixes
This commit is contained in:
parent
9d82f0d406
commit
4c9f8cf0bd
1 changed files with 2 additions and 4 deletions
|
|
@ -164,8 +164,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
);
|
||||
this.$loop.schedule(this.CHANGE_FULL);
|
||||
|
||||
this.setPadding(4);
|
||||
this.updateCharacterSize();
|
||||
this.setPadding(4);
|
||||
};
|
||||
|
||||
(function() {
|
||||
|
|
@ -509,13 +509,11 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
this.$updatePrintMargin = function() {
|
||||
var containerEl;
|
||||
|
||||
if (!this.$showPrintMargin && !this.$printMarginEl)
|
||||
return;
|
||||
|
||||
if (!this.$printMarginEl) {
|
||||
containerEl = dom.createElement("div");
|
||||
var containerEl = dom.createElement("div");
|
||||
containerEl.className = "ace_layer ace_print-margin-layer";
|
||||
this.$printMarginEl = dom.createElement("div");
|
||||
this.$printMarginEl.className = "ace_print-margin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue