mirror of
https://github.com/teoxoy/factorio-blueprint-editor.git
synced 2025-03-27 21:39:03 +02:00
fix ccw rotate not working for single entity
This commit is contained in:
parent
455cd36034
commit
9748ecf88b
@ -175,7 +175,7 @@ export class Editor {
|
||||
|
||||
function doRotate(ccw: boolean): void {
|
||||
if (G.BPC.mode === EditorMode.EDIT) {
|
||||
G.BPC.hoverContainer.entity.rotate(false, true)
|
||||
G.BPC.hoverContainer.entity.rotate(ccw, true)
|
||||
} else if (G.BPC.mode === EditorMode.PAINT) {
|
||||
if (G.BPC.paintContainer.canFlipOrRotateByCopying()) {
|
||||
const copies = G.BPC.paintContainer.rotatedEntities(ccw)
|
||||
|
Loading…
x
Reference in New Issue
Block a user