mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-18 15:26:19 +08:00
Fix #1256 Cant paste all faces at once
Fix multiple GIF HUDs when pressing button multiple times
This commit is contained in:
parent
c61a20b12a
commit
36a59630ec
@ -22,6 +22,9 @@ const Screencam = {
|
||||
onConfirm: function(formData) {
|
||||
let background = formData.color.toHex8String() != '#00000000' ? formData.color.toHexString() : undefined;
|
||||
this.hide();
|
||||
if (document.getElementById('gif_recording_frame')) {
|
||||
document.getElementById('gif_recording_frame').remove();
|
||||
}
|
||||
Screencam.createGif({
|
||||
length_mode: formData.length_mode,
|
||||
length: limitNumber(formData.length, 0.1, 24000),
|
||||
|
@ -1153,7 +1153,7 @@ const UVEditor = {
|
||||
} else {
|
||||
UVEditor.clipboard.forEach(tag => {
|
||||
elements.forEach(el => {
|
||||
if (Project.box_uv && el instanceof Cube)
|
||||
if (Project.box_uv && el instanceof Cube) return;
|
||||
if ((el instanceof Cube && tag instanceof CubeFace) || (el instanceof Mesh && tag instanceof MeshFace)) {
|
||||
let key = tag.direction;
|
||||
if (el.faces[key]) {
|
||||
|
Loading…
Reference in New Issue
Block a user