mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 13:04:58 +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.
|
// 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