ext-tables fix coumn width rounding issue
This commit is contained in:
parent
df89c06f22
commit
d26da7c1a0
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
* `image-coil` - deliver image result if it loaded before request disposable is created ([#272])
|
* `image-coil` - deliver image result if it loaded before request disposable is created ([#272])
|
||||||
|
* `ext-tables` - fix column width rounding issue
|
||||||
|
|
||||||
[#272]: https://github.com/noties/Markwon/issues/272
|
[#272]: https://github.com/noties/Markwon/issues/272
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ public class TableRowSpan extends ReplacementSpan {
|
|||||||
|
|
||||||
final int size = layouts.size();
|
final int size = layouts.size();
|
||||||
|
|
||||||
final int w = width / size;
|
final int w = (int) (1F * width / size + 0.5F);
|
||||||
|
|
||||||
// @since 1.1.1
|
// @since 1.1.1
|
||||||
// draw backgrounds
|
// draw backgrounds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user