Small fixes

This commit is contained in:
daa84
2017-08-28 18:05:58 +03:00
parent e8161919a7
commit 6e0909ea95
2 changed files with 10 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ fn shape_dirty(ctx: &context::Context, ui_model: &mut ui_model::UiModel) {
for i in 0..line.line.len() {
if line[i].dirty {
// FIXME: dont shape/render empty items(space cells)
if let Some(mut item) = line.get_item_mut(i) {
let mut glyphs = pango::GlyphString::new();
{