mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
fix preview and capture resolutions
- adjust the preview so the image captured is what the user sees - add method MySize.isSupported; current support is for full, 16:9, 4:3 and 1:1 of the highest resolution - cleanup ImageQualityManager, add method to get the full screen resolution which is just the resolution with the largest width - change the UI to move settings to the top and remove the auto fading
This commit is contained in:
@ -66,6 +66,7 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
get() = prefs.getInt(FRONT_VIDEO_RESOLUTION_INDEX, 0)
|
||||
set(frontVideoResIndex) = prefs.edit().putInt(FRONT_VIDEO_RESOLUTION_INDEX, frontVideoResIndex).apply()
|
||||
|
||||
//TODO: Remove keepSettingsVisible since the view has moved to the top
|
||||
var keepSettingsVisible: Boolean
|
||||
get() = prefs.getBoolean(KEEP_SETTINGS_VISIBLE, false)
|
||||
set(keepSettingsVisible) = prefs.edit().putBoolean(KEEP_SETTINGS_VISIBLE, keepSettingsVisible).apply()
|
||||
|
Reference in New Issue
Block a user