Fix order of Program::theme implementation
This commit is contained in:
parent
d20ce8d82c
commit
9306883618
1 changed files with 8 additions and 8 deletions
|
|
@ -570,14 +570,6 @@ pub fn with_executor<P: Program, E: Executor>(
|
|||
type Renderer = P::Renderer;
|
||||
type Executor = E;
|
||||
|
||||
fn theme(
|
||||
&self,
|
||||
state: &Self::State,
|
||||
window: window::Id,
|
||||
) -> Self::Theme {
|
||||
self.program.theme(state, window)
|
||||
}
|
||||
|
||||
fn title(&self, state: &Self::State, window: window::Id) -> String {
|
||||
self.program.title(state, window)
|
||||
}
|
||||
|
|
@ -605,6 +597,14 @@ pub fn with_executor<P: Program, E: Executor>(
|
|||
self.program.subscription(state)
|
||||
}
|
||||
|
||||
fn theme(
|
||||
&self,
|
||||
state: &Self::State,
|
||||
window: window::Id,
|
||||
) -> Self::Theme {
|
||||
self.program.theme(state, window)
|
||||
}
|
||||
|
||||
fn style(
|
||||
&self,
|
||||
state: &Self::State,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue