Clear on new
This commit is contained in:
parent
7d009e266d
commit
5f766f7270
@ -14,6 +14,7 @@ function Source (ronin) {
|
|||||||
this.new = function () {
|
this.new = function () {
|
||||||
console.log('Source', 'Make a new file..')
|
console.log('Source', 'Make a new file..')
|
||||||
this.path = null
|
this.path = null
|
||||||
|
ronin.surface.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
this.open = function () {
|
this.open = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user