mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
Do not apply mathindent to inline math insets
This commit is contained in:
parent
350ef993e5
commit
040e9d32a6
@ -1026,7 +1026,7 @@ int InsetMathHull::indent(BufferView const & bv) const
|
|||||||
{
|
{
|
||||||
// FIXME: set this in the textclass. This value is what the article class uses.
|
// FIXME: set this in the textclass. This value is what the article class uses.
|
||||||
static Length default_indent(2.5, Length::EM);
|
static Length default_indent(2.5, Length::EM);
|
||||||
if (buffer().params().is_math_indent) {
|
if (display() != Inline && buffer().params().is_math_indent) {
|
||||||
Length const & len = buffer().params().getMathIndent();
|
Length const & len = buffer().params().getMathIndent();
|
||||||
if (len.empty())
|
if (len.empty())
|
||||||
return bv.inPixels(default_indent);
|
return bv.inPixels(default_indent);
|
||||||
|
Loading…
Reference in New Issue
Block a user