# Build v1.595dac53

This update for **SmartUI**, the UI framework for **Construct 3** by **Pixel Perfect Studio**, introduces new features, performance optimizations, and key bug fixes to improve both developer and user experience. Essential components such as **GridLayout, ScrollView, and ProgressBar** have been optimized, along with improvements to animations and interaction events. Several critical issues related to rendering, input handling, and motion interpolation have also been addressed.

### **🚀 Commercial Release**

This update marks the **first commercial release** of **SmartUI**, optimized for production environments with improved stability and performance.

## Addons Version

| Addon ID                        | Current Version |
| ------------------------------- | --------------- |
| ppstudio\_smartui\_plugin       | 1.0.0.3         |
| ppstudio\_button\_beh           | 0.0.0.2         |
| ppstudio\_checkbox\_beh         | 0.0.0.2         |
| ppstudio\_container\_beh        | 0.0.0.2         |
| ppstudio\_datalistener\_beh     | 0.0.0.2         |
| ppstudio\_dialog\_beh           | 0.0.0.2         |
| ppstudio\_discreteprogress\_beh | 0.0.0.2         |
| ppstudio\_gridlayout\_beh       | 0.0.0.2         |
| ppstudio\_progressbar\_beh      | 0.0.0.3         |
| ppstudio\_radiobutton\_beh      | 0.0.0.2         |
| ppstudio\_scrollbar\_beh        | 0.0.0.2         |
| ppstudio\_scrollview\_beh       | 0.0.0.2         |

## **🆕 New Features**

#### **GridLayout**

* Added **"can grow"** functionality, allowing rows and columns to dynamically expand based on the grid size.
* Improved object arrangement logic, ensuring correct positioning when elements have different origin points.

#### **ScrollView**

* Implemented **SmoothDamp** for smoother scrolling transitions.
* Added **"Wheel" event**, which now properly ignores overlapping child objects.

#### **UI Events & Animations**

* Introduced **OnInteractionValidChange**, an event that restores a component to its original state when its validity changes.
* **OnPressed** animation now holds if the button remains pressed.
* **NumPadEnter** was added to the default key list.
* Added **CloseAllDialogs** action to close all currently open dialogs.
* Integrated a **Language object** to manage framework UI strings.

#### **Compatibility & Libraries**

* Improved compatibility checks for **child addons**.
* Updated and added **non-commercial libraries** to the change management system.

***

## **🔄 Changes**

#### **GridLayout**

* Improved row and column calculations to fix expression errors in their resizing logic.
* Optimized **InsertAt** behavior for properly handling empty grids.
* Enhanced resizing of cells when using different width and height arrays.

#### **ScrollView**

* Optimized rendering by preventing unnecessary updates during each tick.
* Improved simulation of input events to reduce response delays.

#### **ProgressBar**

* Added new rendering modes: **Width Render, Radial Circle, and Radial Score**.

#### **UI Events & Animations**

* **ITouchable.\_checkHover** is now called more frequently to reduce interaction delays.
* Improved **OnFocus animation**, fixing overlapping issues when clicking buttons.
* Updated simulations for better animation accuracy.

***

## **🐛 Bug Fixes**

#### **GridLayout**

* Fixed a **row and column resizing** issue when they needed to grow dynamically.
* Corrected object arrangement logic when inserting items into an empty grid.

#### **ScrollView**

* Fixed a **NullPointerException** that occurred when destroying ScrollView.
* Resolved an issue where the **Wheel event** was not being triggered correctly.
* Fixed a bug in **discrete interpolation**, preventing unintended scrolling behavior.

#### **ProgressBar**

* Fixed an issue where it failed to render when the progress value was **zero**.
* Resolved bugs in **Load/Save functionality** when using mesh rendering.

#### **UI Events & Animations**

* Fixed a **SimulatingClick bug**, ensuring it renders correctly even when spamming clicks and touches simultaneously.
* Resolved opacity issues in **Fade-in/Fade-out animations**.
* Fixed a bug in **OnInteractionValidChange**, which caused inconsistent behavior when setting button properties to **false**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smartui-docs.pixelperfectstudio.mx/getting-started/quickstart/release-notes/build-v1.595dac53.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
