Browse Source

update changelog (sokol_imgui.h touch input improvements)

Andre Weissflog 2 years ago
parent
commit
27f347199e
1 changed files with 9 additions and 1 deletions
  1. 9 1
      CHANGELOG.md

+ 9 - 1
CHANGELOG.md

@@ -1,6 +1,8 @@
 ## Updates
 
-- **20-May-2023**: some minor event-related cleanup in sokol_app.h:
+- **20-May-2023**: some minor event-related cleanup in sokol_app.h and
+  a touchscreen fix in sokol_imgui.h
+
     - in the event `SAPP_EVENTTYPE_FILESDROPPED`:
         - the `sapp_event.modifier` field now contains the active modifier keys
           at the time of the file drop operations on the platforms macOS, Emscripten
@@ -17,6 +19,12 @@
 
     Many thanks to @castano for the initial PR (https://github.com/floooh/sokol/pull/830)!
 
+    - In sokol_imgui.h, the new io.AddMouseSourceEvent() function in Dear ImGui 1.89.5
+      is called to differentiate between mouse- and touch-events, this makes ui tabs
+      work with a single tap (previously a double-tap on the tab was needed). The code
+      won't break if the ImGui version is older (in this case the function simply isn't called)
+
+
 - **19-May-2023**: _**BREAKING CHANGES**_ in sokol_gfx.h: Render passes are now more 'harmonized'
   with Metal and WebGPU by exposing a 'store action', and making MSAA resolve attachments
   explicit. The changes in detail: