Do not let cursor overlap with inserted graphics.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219612.html
This commit is contained in:
Pavel Sanda 2023-04-27 20:37:32 +02:00
parent ca0576d8fd
commit 5be391b274

View File

@ -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;