Add scrollable section to tour

This commit is contained in:
Héctor Ramón Jiménez 2019-11-02 01:42:51 +01:00
parent 298c42ac5f
commit 58d04cadef
2 changed files with 41 additions and 7 deletions

View file

@ -5,7 +5,7 @@ use iced_native::{
};
const SCROLLBAR_WIDTH: u16 = 10;
const SCROLLBAR_MARGIN: u16 = 10;
const SCROLLBAR_MARGIN: u16 = 2;
fn scrollbar_bounds(bounds: Rectangle) -> Rectangle {
Rectangle {