mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Amend commit e194c9ce27
As noted in the log, this commit was a bit radical and needs some adjustments (which was expected, actually). Let InsetText do their own background drawing. Fixes bug #10359.
This commit is contained in:
parent
b5c0694856
commit
72837fec5c
@ -59,6 +59,8 @@ public:
|
|||||||
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
void metrics(MetricsInfo & mi, Dimension & dim) const;
|
||||||
///
|
///
|
||||||
void draw(PainterInfo & pi, int x, int y) const;
|
void draw(PainterInfo & pi, int x, int y) const;
|
||||||
|
/// Drawing background is handled in draw
|
||||||
|
virtual void drawBackground(PainterInfo &, int, int) const {}
|
||||||
///
|
///
|
||||||
bool editable() const { return true; }
|
bool editable() const { return true; }
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user