From: Pavel Sanda Date: Thu, 27 Apr 2023 18:37:32 +0000 (+0200) Subject: Do not let cursor overlap with inserted graphics. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5be391b274f2cbf4a1da03bc5ee2136cb6c4e660;p=features.git Do not let cursor overlap with inserted graphics. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219612.html --- diff --git a/src/insets/InsetGraphics.h b/src/insets/InsetGraphics.h index 2f0156dfc9..ff450d1b9a 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;