diff --git a/paint/sources/brush_nodes/brush_output_node.ts b/paint/sources/brush_nodes/brush_output_node.ts index 86c8ad49..124fa030 100644 --- a/paint/sources/brush_nodes/brush_output_node.ts +++ b/paint/sources/brush_nodes/brush_output_node.ts @@ -98,6 +98,12 @@ function brush_output_node_run(self: brush_output_node_t, from: i32) { let w: i32 = ui_toolbar_x() + ui_toolbar_w(); left += w / sys_w(); top += w / sys_h(); + + /// if arm_ios + if (config_is_iphone()) { + top += w / sys_h(); + } + /// end } // First time init diff --git a/paint/sources/config.ts b/paint/sources/config.ts index c3ce095f..250e8b0f 100644 --- a/paint/sources/config.ts +++ b/paint/sources/config.ts @@ -193,9 +193,15 @@ function config_init() { config_raw.pressure_sensitivity = 2.0; /// end config_raw.camera_fov = 0.69; + /// if (arm_android || arm_ios) + config_raw.camera_zoom_speed = 0.5; + config_raw.camera_pan_speed = 0.5; + config_raw.camera_rotation_speed = 0.5; + /// else config_raw.camera_zoom_speed = 1.0; config_raw.camera_pan_speed = 1.0; config_raw.camera_rotation_speed = 1.0; + /// end config_raw.camera_upside_down = false; config_raw.zoom_direction = zoom_direction_t.VERTICAL; config_raw.displace_strength = 0.0;