mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Rename EguiState::open to is_open
This makes it more clear that it doesn't actually open the editor.
This commit is contained in:
@@ -80,7 +80,8 @@ impl EguiState {
|
||||
}
|
||||
|
||||
/// Whether the GUI is currently visible.
|
||||
pub fn open(&self) -> bool {
|
||||
// Called `is_open()` instead of `open()` to avoid the ambiguity.
|
||||
pub fn is_open(&self) -> bool {
|
||||
self.open.load(Ordering::Acquire)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user