Minor description corrections
This commit is contained in:
parent
1cd7b15532
commit
a0a8203a0b
|
@ -110,7 +110,7 @@ function dataURLtoFile(dataurl, filename) {
|
||||||
}
|
}
|
||||||
return new File([u8arr], filename, { type: mime });
|
return new File([u8arr], filename, { type: mime });
|
||||||
}
|
}
|
||||||
|
/** Doodle canvas size options */
|
||||||
const DOODLE_SIZES = {
|
const DOODLE_SIZES = {
|
||||||
normal: [500, 500, 'Square 500'],
|
normal: [500, 500, 'Square 500'],
|
||||||
tootbanner: [702, 330, 'Tootbanner'],
|
tootbanner: [702, 330, 'Tootbanner'],
|
||||||
|
@ -520,7 +520,7 @@ export default class DoodleModal extends ImmutablePureComponent {
|
||||||
let newSize = e.target.value;
|
let newSize = e.target.value;
|
||||||
if (newSize === this.oldSize) return;
|
if (newSize === this.oldSize) return;
|
||||||
|
|
||||||
if (this.undos.length > 1 && !confirm('Change size? This will erase your drawing!')) {
|
if (this.undos.length > 1 && !confirm('Change canvas size? This will erase your current drawing!')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -528,7 +528,7 @@ export default class DoodleModal extends ImmutablePureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
handleClearBtn = () => {
|
handleClearBtn = () => {
|
||||||
if (this.undos.length > 1 && !confirm('Clear screen? This will erase your drawing!')) {
|
if (this.undos.length > 1 && !confirm('Clear canvas? This will erase your current drawing!')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue