v0.10.0
Changelog
- Added
WindowConfig::set_position
to set x/y position before creating the window. - Changed
Renderer.begin
usesOption<ClearOption>
instead ofOption<&ClearOption>
. - Changed sizes and positions for Window and Textures from
i32
tou32
. - Added
AppTimer::elapsed
to return time since init asDuration
. - Changed
AppTimer::time_since_init
toAppTimer::elapsed_f32
. - Changed
WindowConfig
setter method to use the prefixset_
. - Removed deprecated
Mouse::local_position
. - Removed deprecated
mat3_screen_to_local
,mat3_local_to_screen
,mat3_local_to_local
. - Updated dependencies to latest versions.
- Enabled compilation with
--no-default-features
excluding shader compilation macros. - Deserializing
AtlasFrame
uses a defaultpivot
if is empty. - Added
WindowConfig::set_window_icon_data
. - Added
WindowConfig::set_taskbar_icon_data
. - Added example
window_icon_from_raw.rs
. - Changed
glsl_layout
dependency forcrevice
. - Updated EGUI to
0.22
. - Fixed
egui
panic when custom font are set. - Fixed slow scroll speed.
- Fixed
egui needs_repaint
not working right in some situations. - Fixed the order of the matrix multiplication for
Draw
methods. - Improved error messages when
WebGL
andWebGL2
contexts cannot be adquired. - Fixed
Buffer
to allow reuseUniform Buffers
between pipelines. - Changed some noisy logs from
debug
totrace
. - Added
Clone
toRandom
. - Reset values of
Mouse::wheel_delta
when the user stops scrolling. - Added
Mouse::is_scrolling
. - App's state can use now lifetimes, ie:
State<'n>
. - Added
Clone
toAssetsList
. - The
image
crate onnotan_graphics
is only used whentexture_to_file
is enabled. - Added
WindowBackend::set_cursor_position
,Event::MouseMotion
andMouse::is_moving
. - Added new example
window_initial_position.rs
. - Added mipmap and texture wrapping settings to
RenderTextureBuilder
. - Added new example
texture_params
. - Added new example
renderer_stencil
. - Fixed mouse wheel scroll being ignored when moving the mouse at same time
- Added alt mouse wheel scrolling code to example
- Fixed
set_multisamples
. It is no longer being ignored for winit backend - Fixed blurry text on egui when using on desktop
- Fixed mono channel audio playing in half of time set for the audio length.
- Added
is_focused()
for winit backend - Added
window_focus
example
Thanks everybody!