Skip to content

Commit

Permalink
Derive Clone, Debug, PartialEq, Eq for EditAction (#51)
Browse files Browse the repository at this point in the history
Useful for debugging...
  • Loading branch information
abey79 authored Feb 6, 2024
1 parent 8e5e4cb commit 405b5ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/behavior.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use egui::{
use super::{ResizeState, SimplificationOptions, Tile, TileId, Tiles, UiResponse};

/// The kind of edit that triggered the call to [`Behavior::on_edit`].
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum EditAction {
/// A tile was resized by dragging or double-clicking a boundary.
TileResized,
Expand Down

0 comments on commit 405b5ce

Please sign in to comment.