Merge pull request #989 from danyaPostfactum/mistype
Fix mistype in svg example and in cursor layer method setOverwrite
This commit is contained in:
commit
8ac40fdeac
2 changed files with 3 additions and 3 deletions
|
|
@ -47,7 +47,7 @@
|
||||||
setTimeout("ShowAndGrowElement()", timer_increment)
|
setTimeout("ShowAndGrowElement()", timer_increment)
|
||||||
}
|
}
|
||||||
window.ShowAndGrowElement = ShowAndGrowElement
|
window.ShowAndGrowElement = ShowAndGrowElement
|
||||||
]]</script>
|
]]></script>
|
||||||
|
|
||||||
<rect
|
<rect
|
||||||
fill="#2e3436"
|
fill="#2e3436"
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
|
@ -177,7 +177,7 @@ var Cursor = function(parentEl) {
|
||||||
|
|
||||||
var overwrite = this.session.getOverwrite();
|
var overwrite = this.session.getOverwrite();
|
||||||
if (overwrite != this.overwrite)
|
if (overwrite != this.overwrite)
|
||||||
this.$setOverite(overwrite);
|
this.$setOverwrite(overwrite);
|
||||||
|
|
||||||
// cache for textarea and gutter highlight
|
// cache for textarea and gutter highlight
|
||||||
this.$pixelPos = pixelPos;
|
this.$pixelPos = pixelPos;
|
||||||
|
|
@ -185,7 +185,7 @@ var Cursor = function(parentEl) {
|
||||||
this.restartTimer();
|
this.restartTimer();
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$setOverite = function(overwrite) {
|
this.$setOverwrite = function(overwrite) {
|
||||||
this.overwrite = overwrite;
|
this.overwrite = overwrite;
|
||||||
for (var i = this.cursors.length; i--; ) {
|
for (var i = this.cursors.length; i--; ) {
|
||||||
if (overwrite)
|
if (overwrite)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue