mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fit typos
This commit is contained in:
parent
717e8dd52a
commit
5a0b6b90e4
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Open and initialize the database.
|
* Open and initialize the database.
|
||||||
* Returns a promise that resolves when the databse is opened.
|
* Returns a promise that resolves when the database is opened.
|
||||||
*/
|
*/
|
||||||
ns.BackupDatabase.prototype.init = function () {
|
ns.BackupDatabase.prototype.init = function () {
|
||||||
var request = window.indexedDB.open(DB_NAME, DB_VERSION);
|
var request = window.indexedDB.open(DB_NAME, DB_VERSION);
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
this.lastMoveRow = row;
|
this.lastMoveRow = row;
|
||||||
|
|
||||||
// The select tool can be in two different state.
|
// The select tool can be in two different state.
|
||||||
// If the inital click of the tool is not on a selection, we go in 'select'
|
// If the initial click of the tool is not on a selection, we go in 'select'
|
||||||
// mode to create a selection.
|
// mode to create a selection.
|
||||||
// If the initial click is on a previous selection, we go in 'moveSelection'
|
// If the initial click is on a previous selection, we go in 'moveSelection'
|
||||||
// mode to allow to move the selection by drag'n dropping it.
|
// mode to allow to move the selection by drag'n dropping it.
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* When creating the rectangle selection, we clear the current overlayFrame and
|
* When creating the rectangle selection, we clear the current overlayFrame and
|
||||||
* redraw the current rectangle based on the orgin coordinate and
|
* redraw the current rectangle based on the origin coordinate and
|
||||||
* the current mouse coordiinate in sprite.
|
* the current mouse coordinate in sprite.
|
||||||
* @override
|
* @override
|
||||||
*/
|
*/
|
||||||
ns.RectangleSelect.prototype.onDragSelect_ = function (col, row, frame, overlay) {
|
ns.RectangleSelect.prototype.onDragSelect_ = function (col, row, frame, overlay) {
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* For the shape select tool, you just need to click one time to create a selection.
|
* For the shape select tool, you just need to click one time to create a selection.
|
||||||
* So we jsut need to implement onSelectStart_ (no need for onSelect_ & onSelectEnd_)
|
* So we just need to implement onSelectStart_ (no need for onSelect_ & onSelectEnd_)
|
||||||
* @override
|
* @override
|
||||||
*/
|
*/
|
||||||
ns.ShapeSelect.prototype.onSelectStart_ = function (col, row, frame, overlay) {
|
ns.ShapeSelect.prototype.onSelectStart_ = function (col, row, frame, overlay) {
|
||||||
|
Loading…
Reference in New Issue
Block a user