Skip to content

Commit 6ba704d

Browse files
committed
a thought
1 parent 032d15f commit 6ba704d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cascadia/TerminalApp/Pane.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ void Pane::_ManipulationDeltaHandler(const winrt::Windows::Foundation::IInspecta
415415
// if (container != _root)
416416
// return;
417417

418+
// A thought: store our last transformOrigin in an optional on the pane.
419+
// If the first transform origin isn't on the border, then store the current one, and bail.
420+
// If the next one is now on a border, doesn't matter! bail.
421+
// But also like, find some way to determine if the current manipulation is somehow related to the initial one that started this drag.
422+
// On a pointer release, clear it. Or if we get a tapped on this pane, or they start dragging sufficently far away?
423+
418424
auto delta = args.Delta().Translation;
419425
auto cumulative = args.Cumulative().Translation;
420426
auto transformCurrentPos = args.Position();

0 commit comments

Comments
 (0)