add permission to open files on osx, update android project

This commit is contained in:
2018-09-26 22:53:08 +02:00
parent b43219f98d
commit ea25993f55
3 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,8 @@
<true/>
<key>com.apple.security.assets.pictures.read-write</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>

View File

@@ -65,6 +65,7 @@ add_library(
../src/node_color_quad.cpp
../src/node_colorwheel.cpp
../src/node_combobox.cpp
../src/node_changelog.cpp
../src/node_dialog_browse.cpp
../src/node_dialog_cloud.cpp
../src/node_dialog_open.cpp
@@ -86,6 +87,7 @@ add_library(
../src/node_stroke_preview.cpp
../src/node_text.cpp
../src/node_text_input.cpp
../src/node_usermanual.cpp
../src/node_viewport.cpp
../src/node_scroll.cpp
)

View File

@@ -49,7 +49,7 @@ kEventResult NodeButtonCustom::handle_event(Event* e)
mouse_capture();
break;
case kEventType::MouseUpL:
#ifdef __IOS__
#if defined(__IOS__) || defined(__ANDROID__)
m_color = color_normal;
#else
m_color = m_mouse_inside ? color_hover : color_normal;