Increase border_rect for TextureSlicer to match image (#15177)
# Objective - Fixes #14550 ## Solution Increased the _border_rect_ for _TextureSampler_ to match image. ## Testing - Compiled main branch from source and made sure problem exists - Applied fix and rebuild to make sure problem doesn't exist anymore ## Showcase ### main After some clicking on the buttons problem exists on main branch:  ### this PR Can not get the problem with the fix: 
This commit is contained in:
parent
3efef59d83
commit
cf5afecd9f
@ -55,7 +55,7 @@ fn setup(
|
|||||||
let atlas_layout_handle = texture_atlases.add(atlas_layout);
|
let atlas_layout_handle = texture_atlases.add(atlas_layout);
|
||||||
|
|
||||||
let slicer = TextureSlicer {
|
let slicer = TextureSlicer {
|
||||||
border: BorderRect::square(22.0),
|
border: BorderRect::square(24.0),
|
||||||
center_scale_mode: SliceScaleMode::Stretch,
|
center_scale_mode: SliceScaleMode::Stretch,
|
||||||
sides_scale_mode: SliceScaleMode::Stretch,
|
sides_scale_mode: SliceScaleMode::Stretch,
|
||||||
max_corner_scale: 1.0,
|
max_corner_scale: 1.0,
|
||||||
|
Loading…
Reference in New Issue
Block a user