diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-01 14:23:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-01 14:33:27 +0300 |
commit | 77c126dd4c819a4ad92bb7895af4593831cb2daf (patch) | |
tree | ad84fc4cca8fce19c48aea1e3880820a89cf04c3 /source/blender/editors/space_sequencer | |
parent | 8f1b1b5abb63e52827d5d0dcee0c2930be2087d7 (diff) |
Fix T57553: Python operator popup size does not follow UI scale and DPI.
Make it the convention to multiply by scaling factor inside the function, so
Python scripts that didn't add DPI scale start working correctly.
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c index 38abfe909a6..a1819e9ac3a 100644 --- a/source/blender/editors/space_sequencer/sequencer_edit.c +++ b/source/blender/editors/space_sequencer/sequencer_edit.c @@ -3525,7 +3525,7 @@ void SEQUENCER_OT_rebuild_proxy(wmOperatorType *ot) static int sequencer_enable_proxies_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) { - return WM_operator_props_dialog_popup(C, op, 10 * UI_UNIT_X, 5 * UI_UNIT_Y); + return WM_operator_props_dialog_popup(C, op, 200, 100); } static int sequencer_enable_proxies_exec(bContext *C, wmOperator *op) |