Skip to content

Commit

Permalink
Remove first open
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed Jun 30, 2024
1 parent ceea9bf commit 787c5cb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/modals/src/event_graphic_picker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ pub struct Modal {
opacity: i32,
hue: i32,
blend_mode: rpg::BlendMode,
first_open: bool,

tilepicker: Tilepicker,

Expand Down Expand Up @@ -131,7 +130,6 @@ impl Modal {
opacity: graphic.opacity,
hue: graphic.character_hue,
blend_mode: graphic.blend_type,
first_open: false,

tilepicker,

Expand Down Expand Up @@ -208,7 +206,6 @@ impl luminol_core::Modal for Modal {
self.blend_mode = data.blend_type;
self.hue = data.character_hue;
self.opacity = data.opacity;
self.first_open = true;

self.open = true;
}
Expand Down Expand Up @@ -506,8 +503,6 @@ impl Modal {
});
});

self.first_open = false;

if needs_save {
match self.selected {
Selected::None => {
Expand Down

0 comments on commit 787c5cb

Please sign in to comment.