Skip to content
This repository was archived by the owner on Dec 3, 2020. It is now read-only.

Commit be90ff4

Browse files
committed
Temporary fix for top right viewport
1 parent b66ba55 commit be90ff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NBEditor.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ void CDR::update(NBEditor* editor, bool drag, rect<s32> offset)
285285

286286
// Snapping
287287
wpos -= vector3df(node->position.X, node->position.Y, node->position.Z);
288+
if (window == VIEW_XZ)
289+
wpos.Z -= 0.1;
288290

289291
if (editor->state->settings->getBool("snapping")) {
290292
wpos.X = floor((wpos.X + 0.5) * 16 + 0.5) / 16 - 0.5;

0 commit comments

Comments
 (0)