mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra calculation
This commit is contained in:
parent
f2d78bcbbe
commit
1a3c66f336
1 changed files with 1 additions and 5 deletions
|
|
@ -148,11 +148,7 @@ class Markup implements \Yggverse\Yoda\Interface\Model\Gtk\Pango\Markup
|
|||
);
|
||||
|
||||
$layout->set_markup(
|
||||
$markup,
|
||||
mb_strlen(
|
||||
$markup,
|
||||
self::ENCODING
|
||||
)
|
||||
$markup, -1
|
||||
);
|
||||
|
||||
if ($size = $layout->get_pixel_size())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue