From fd82336a15dc30b16e44c25c755fb0f20c443699 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 7 Sep 2025 18:38:30 +0000 Subject: [PATCH 1/2] Initial plan From 56313a49721c018250815ef3926b9987a698ab56 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 7 Sep 2025 18:42:13 +0000 Subject: [PATCH 2/2] Change drag button from right to left mouse button Co-authored-by: emako <24737061+emako@users.noreply.github.com> --- QuickLook.Plugin.CADImport/CADImaging.cs | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QuickLook.Plugin.CADImport/CADImaging.cs b/QuickLook.Plugin.CADImport/CADImaging.cs index 166a044..0ebc3c9 100644 --- a/QuickLook.Plugin.CADImport/CADImaging.cs +++ b/QuickLook.Plugin.CADImport/CADImaging.cs @@ -119,7 +119,7 @@ private void OnCADPictBoxScroll(object sender, ScrollEventArgsExt e) private void OnCADPictBoxMouseDown(object sender, MouseEventArgs e) { - if (e.Button == MouseButtons.Right) + if (e.Button == MouseButtons.Left) { CursorUpdated?.Invoke(this, new CADImagingEventArgs(CADImagingEventArgs.EventType.Cursor, [Cursors.Hand])); currentXClickPosition = e.X; diff --git a/README.md b/README.md index f2a721f..b884cdc 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The following file extensions are treated as CAD files. 1. Scroll mouse wheel to zoom in/out. 2. Double left click to reset the scaling. -3. Right press and drag to pan the view. +3. Left press and drag to pan the view. ## Licenses