mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
amend 5b7be5eb (typo+spacing)
This commit is contained in:
parent
d8f6e65ec7
commit
1ec605cbb2
@ -3963,7 +3963,7 @@ bool InsetTabular::hitSelectColumn(BufferView const & bv, int y) const
|
|||||||
int const y0 = yo(bv) - tabular.rowAscent(0) + offset_valign_;
|
int const y0 = yo(bv) - tabular.rowAscent(0) + offset_valign_;
|
||||||
// FIXME: using ADD_TO_TABULAR_WIDTH is not really correct since
|
// FIXME: using ADD_TO_TABULAR_WIDTH is not really correct since
|
||||||
// there is no margin added vertically to tabular insets.
|
// there is no margin added vertically to tabular insets.
|
||||||
// Howerver, it works for now.
|
// However, it works for now.
|
||||||
return y < y0 + ADD_TO_TABULAR_WIDTH || y > y0 + tabular.height() - ADD_TO_TABULAR_WIDTH;
|
return y < y0 + ADD_TO_TABULAR_WIDTH || y > y0 + tabular.height() - ADD_TO_TABULAR_WIDTH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1009,7 +1009,7 @@ private:
|
|||||||
bool hitSelectRow(BufferView const & bv, int x) const;
|
bool hitSelectRow(BufferView const & bv, int x) const;
|
||||||
///
|
///
|
||||||
bool hitSelectColumn(BufferView const & bv, int y) const;
|
bool hitSelectColumn(BufferView const & bv, int y) const;
|
||||||
/// Returns true if coordinates are on row/column selection zones
|
/// Returns true if coordinates are on row/column selection zones
|
||||||
bool clickable(BufferView const &, int x, int y) const;
|
bool clickable(BufferView const &, int x, int y) const;
|
||||||
|
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user