(&mut self)
| 41 | |
| 42 | impl Executor { |
| 43 | pub(crate) fn load_text(&mut self) { |
| 44 | let weak = self.get_weak(); |
| 45 | if let Some(window) = weak.upgrade() { |
| 46 | window.set_text_speed(USER_CONFIG.speed()); |
| 47 | window.set_dialogue_opacity(USER_CONFIG.opacity()); |
| 48 | } |
| 49 | } |
| 50 | } |