diff --git a/js/preview/canvas.js b/js/preview/canvas.js index b44d93e4..d073d4a6 100644 --- a/js/preview/canvas.js +++ b/js/preview/canvas.js @@ -672,14 +672,14 @@ const Canvas = { var p = {} - p.from = face_list[1].from.slice() - p.size = face_list[1].size.slice() + p.from = face_list[0].from.slice() + p.size = face_list[0].size.slice() - face_list[1].from = face_list[3].from.slice() - face_list[1].size = face_list[3].size.slice() + face_list[0].from = face_list[1].from.slice() + face_list[0].size = face_list[1].size.slice() - face_list[3].from = p.from.slice() - face_list[3].size = p.size.slice() + face_list[1].from = p.from.slice() + face_list[1].size = p.size.slice() } let fIndex = 0; diff --git a/js/preview/preview.js b/js/preview/preview.js index d4443658..d32da695 100644 --- a/js/preview/preview.js +++ b/js/preview/preview.js @@ -683,7 +683,7 @@ class Preview { } return }; - if (!Modes.edit) return; + if (!Modes.edit || event.type == 'touchstart') return; $(this.node).append(this.selection.box) this.selection.activated = settings.canvas_unselect.value; diff --git a/js/texturing/textures.js b/js/texturing/textures.js index ae782217..03d756d4 100644 --- a/js/texturing/textures.js +++ b/js/texturing/textures.js @@ -774,7 +774,7 @@ class Texture { delete Painter.current.canvas; } scope.keep_size = true; - if (formResult.fill !== 'stretch' && Format.single_texture) { + if (formResult.fill !== 'stretch' && (Format.single_texture || Texture.all.length == 1)) { Undo.current_save.uv_mode = { box_uv: Project.box_uv, width: Project.texture_width,