tree: focus container mono child after scroll
This commit is contained in:
parent
3abd72b330
commit
fca7c7e1d2
9 changed files with 140 additions and 9 deletions
|
|
@ -2,7 +2,7 @@ use {
|
|||
crate::{
|
||||
format::ARGB8888,
|
||||
it::{
|
||||
test_error::TestError,
|
||||
test_error::{TestError, TestResult},
|
||||
test_ifs::{
|
||||
test_shm_buffer::TestShmBuffer, test_shm_pool::TestShmPool,
|
||||
test_surface::TestSurface, test_xdg_surface::TestXdgSurface,
|
||||
|
|
@ -41,6 +41,11 @@ impl TestWindow {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub async fn map2(&self) -> TestResult {
|
||||
self.map().await?;
|
||||
self.map().await
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn set_color(&self, r: u8, g: u8, b: u8, a: u8) {
|
||||
self.color.set(Color::from_rgba_straight(r, g, b, a));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue