making the current_slide pop up
This commit is contained in:
parent
67b19fe214
commit
2c5b28578c
1 changed files with 4 additions and 1 deletions
|
@ -389,7 +389,10 @@ impl Presenter {
|
|||
style.shadow = Shadow {
|
||||
color: Color::BLACK,
|
||||
offset: {
|
||||
if hovered {
|
||||
if self.current_slide_index as i32 == slide_id
|
||||
{
|
||||
Vector::new(5.0, 5.0)
|
||||
} else if hovered {
|
||||
Vector::new(5.0, 5.0)
|
||||
} else {
|
||||
Vector::new(0.0, 0.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue