mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
refactor: update Dashbot window size constraints and enhance request navigation handling
This commit is contained in:
@@ -14,7 +14,7 @@ class DashbotWindowNotifier extends StateNotifier<DashbotWindowModel> {
|
||||
|
||||
void updateSize(double dx, double dy, Size screenSize) {
|
||||
final newWidth =
|
||||
(state.width - dx).clamp(300, screenSize.width - state.right);
|
||||
(state.width - dx).clamp(375, screenSize.width - state.right);
|
||||
final newHeight =
|
||||
(state.height - dy).clamp(460, screenSize.height - state.bottom);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user