Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ced92152e1 |
No files matched your search
@@ -1,4 +1,8 @@
|
||||
# Changelog
|
||||
## [1.2.2] - 2026-06-10
|
||||
### Fixed
|
||||
- Android touch targets now align correctly on devices with navigation bar window insets.
|
||||
|
||||
## [1.2.1] - 2026-06-10
|
||||
### Added
|
||||
- Breath hold display mode setting with circle progress or stopwatch display
|
||||
|
||||
@@ -34,8 +34,8 @@ android {
|
||||
defaultConfig {
|
||||
minSdk 19
|
||||
targetSdk 35
|
||||
versionCode 22
|
||||
versionName "1.2.1"
|
||||
versionCode 23
|
||||
versionName "1.2.2"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
### Fixed
|
||||
- Android touch targets now align correctly on devices with navigation bar window insets.
|
||||
+1
-1
@@ -79,7 +79,7 @@
|
||||
|
||||
<h1>Inner Breeze</h1>
|
||||
<p>guided breathing meditation based on the Wim Hof method</p>
|
||||
<p class="version">1.2.1</p>
|
||||
<p class="version">1.2.2</p>
|
||||
|
||||
<!-- Direct Downloads -->
|
||||
<nav aria-label="Platform downloads" class="platform-buttons">
|
||||
|
||||
+15
-4
@@ -37,6 +37,17 @@ void set_global_inbe_app(InbeApp *app);
|
||||
|
||||
#if INBE_ANDROID_BUILD
|
||||
static AndroidInsets insets;
|
||||
|
||||
static int
|
||||
android_clamp_content_size(int size, int leading_inset, int trailing_inset)
|
||||
{
|
||||
int content_size = size - leading_inset - trailing_inset;
|
||||
|
||||
if(content_size <= 0)
|
||||
return size;
|
||||
|
||||
return content_size;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !defined(PLATFORM_ANDROID) && !defined(__ANDROID__) && !defined(ANDROID) && !defined(PLATFORM_WEB)
|
||||
@@ -80,10 +91,10 @@ frame(void)
|
||||
int safe_left = insets.cutout_left;
|
||||
int safe_right = insets.cutout_right;
|
||||
|
||||
int content_x = safe_left;
|
||||
int content_y = safe_top;
|
||||
int content_width = width - safe_left - safe_right;
|
||||
int content_height = height - safe_top - safe_bottom;
|
||||
int content_x = 0;
|
||||
int content_y = 0;
|
||||
int content_width = android_clamp_content_size(width, safe_left, safe_right);
|
||||
int content_height = android_clamp_content_size(height, safe_top, safe_bottom);
|
||||
|
||||
BeginDrawing();
|
||||
ClearBackground(BLACK);
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
#define INBE_VERSION_MAJOR 1
|
||||
#define INBE_VERSION_MINOR 2
|
||||
#define INBE_VERSION_PATCH 1
|
||||
#define INBE_VERSION_STRING "1.2.1"
|
||||
#define INBE_VERSION_PATCH 2
|
||||
#define INBE_VERSION_STRING "1.2.2"
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user