mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Do not apply mathindent to inline math insets
(cherry picked from commit 040e9d32a6
)
This commit is contained in:
parent
64007533a7
commit
f2f7ea9edc
@ -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.
|
||||
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();
|
||||
if (len.empty())
|
||||
return bv.inPixels(default_indent);
|
||||
|
Loading…
Reference in New Issue
Block a user