Kaynağa Gözat

avoid leading spaces in `text_rectangle_bounds` (#2746)

pull/2750/head
Szieberth Ádám 3 yıl önce
işlemeyi yapan: GitHub
ebeveyn
işleme
4cca234f46
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +2
    -2
      examples/text/text_rectangle_bounds.c

+ 2
- 2
examples/text/text_rectangle_bounds.c Dosyayı Görüntüle

@ -263,6 +263,6 @@ static void DrawTextBoxedSelectable(Font font, const char *text, Rectangle rec,
}
}
textOffsetX += glyphWidth;
k">if ((textOffsetX != 0) || (codepoint != ' ')) textOffsetX += glyphWidth; // avoid leading spaces
}
}
}

Yükleniyor…
İptal
Kaydet