mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Replace TODO: with TODO(emilk): and update code guidelines
This commit is contained in:
@@ -90,7 +90,7 @@ impl ColorTest {
|
||||
|
||||
ui.separator();
|
||||
|
||||
// TODO: test color multiplication (image tint),
|
||||
// TODO(emilk): test color multiplication (image tint),
|
||||
// to make sure vertex and texture color multiplication is done in linear space.
|
||||
|
||||
self.show_gradients(ui, WHITE, (RED, GREEN));
|
||||
|
||||
@@ -64,7 +64,7 @@ impl EasyMarkEditor {
|
||||
ScrollArea::vertical()
|
||||
.id_source("rendered")
|
||||
.show(&mut columns[1], |ui| {
|
||||
// TODO: we can save some more CPU by caching the rendered output.
|
||||
// TODO(emilk): we can save some more CPU by caching the rendered output.
|
||||
crate::easy_mark::easy_mark(ui, &self.code);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
pub enum Item<'a> {
|
||||
/// `\n`
|
||||
// TODO: add Style here so empty heading still uses up the right amount of space.
|
||||
// TODO(emilk): add Style here so empty heading still uses up the right amount of space.
|
||||
Newline,
|
||||
///
|
||||
Text(Style, &'a str),
|
||||
|
||||
Reference in New Issue
Block a user