commit 5be391b274f2cbf4a1da03bc5ee2136cb6c4e660
Author: Pavel Sanda <[email protected]>
Date: Thu Apr 27 20:37:32 2023 +0200
Do not let cursor overlap with inserted graphics.
https://www.mail-archive.com/[email protected]/msg219612.html
---
src/insets/InsetGraphics.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h
index 2f0156d..ff450d1 100644
--- a/src/insets/InsetGraphics.h
+++ b/src/insets/InsetGraphics.h
@@ -97,9 +97,9 @@ public:
///
int bottomOffset(BufferView const *) const override { return 0; }
///
- int leftOffset(BufferView const *) const override { return 0; }
+ int leftOffset(BufferView const *) const override { return 3; }
///
- int rightOffset(BufferView const *) const override { return 0; }
+ int rightOffset(BufferView const *) const override { return 2; }
///
void metrics(MetricsInfo &, Dimension &) const override;
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs