mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Replace TODO: with TODO(emilk): and update code guidelines
This commit is contained in:
@@ -95,7 +95,7 @@ impl<'a> Widget for DatePickerButton<'a> {
|
||||
if pos.x + width_with_padding > ui.clip_rect().right() {
|
||||
pos.x = button_response.rect.right() - width_with_padding;
|
||||
}
|
||||
//TODO: Better positioning
|
||||
//TODO(elwerene): Better positioning
|
||||
|
||||
let area_response = Area::new(ui.make_persistent_id(&self.id_source))
|
||||
.order(Order::Foreground)
|
||||
|
||||
@@ -257,7 +257,7 @@ impl<'a> DatePickerPopup<'a> {
|
||||
});
|
||||
}
|
||||
|
||||
//TODO: Locale
|
||||
//TODO(elwerene): Locale
|
||||
for name in ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"] {
|
||||
header.col(|ui| {
|
||||
ui.with_layout(
|
||||
|
||||
@@ -296,7 +296,7 @@ impl<'a> Table<'a> {
|
||||
|
||||
let bottom = ui.min_rect().bottom();
|
||||
|
||||
// TODO: fix frame-delay by interacting before laying out (but painting later).
|
||||
// TODO(emilk): fix frame-delay by interacting before laying out (but painting later).
|
||||
if let Some(resize_id) = resize_id {
|
||||
let spacing_x = ui.spacing().item_spacing.x;
|
||||
let mut x = avail_rect.left() - spacing_x * 0.5;
|
||||
|
||||
Reference in New Issue
Block a user