mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-16 14:14:07 +00:00
almost
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@758 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -212,6 +212,7 @@ static void mouse_down(MwWidget handle, void* ptr) {
|
||||
|
||||
static void prop_change(MwWidget handle, const char* key) {
|
||||
if(strcmp(key, MwNminValue) == 0 || strcmp(key, MwNvalue) == 0 || strcmp(key, MwNmaxValue) == 0 || strcmp(key, MwNareaShown) == 0) {
|
||||
if(MwGetInteger(handle, MwNvalue) > MwGetInteger(handle, MwNmaxValue)) MwSetInteger(handle, MwNvalue, MwGetInteger(handle, MwNmaxValue));
|
||||
if(handle->prop_event) MwDispatchUserHandler(handle, MwNchangedHandler, NULL);
|
||||
MwForceRender(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user