document GridDirection

This commit is contained in:
René Rössler 2022-02-09 16:03:57 +01:00
parent c55c8dfa1e
commit dfab28fe6d

View file

@ -5,6 +5,10 @@ use crate::{
}; };
use egui::Ui; use egui::Ui;
/// The direction in which cells are positioned in the grid.
///
/// In a horizontal grid cells are positions from left to right.
/// In a vertical grid cells are positions from top to bottom.
enum GridDirection { enum GridDirection {
Horizontal, Horizontal,
Vertical, Vertical,