Skip to content

Commit

Permalink
Increase default visibile size
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Sep 12, 2024
1 parent 06eaaa5 commit 1c5aca2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
9 changes: 4 additions & 5 deletions app/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,22 +171,21 @@ class ButterflyApp extends StatelessWidget {
GoRoute(
path: 'mouse',
builder: (context, state) =>
const MouseBehaviorSettings(),
const MouseInputSettings(),
),
GoRoute(
path: 'pen',
builder: (context, state) =>
const PenBehaviorSettings(),
builder: (context, state) => const PenInputSettings(),
),
GoRoute(
path: 'keyboard',
builder: (context, state) =>
const KeyboardBehaviorSettings(),
const KeyboardInputSettings(),
),
GoRoute(
path: 'touch',
builder: (context, state) =>
const TouchBehaviorSettings(),
const TouchInputSettings(),
),
],
),
Expand Down
4 changes: 2 additions & 2 deletions app/lib/renderers/foregrounds/select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import 'package:butterfly_api/butterfly_api.dart';
import 'package:flutter/material.dart';
import 'package:material_leap/material_leap.dart';

const cornerSize = 32.0;
const visibleSize = cornerSize / 2;
const cornerSize = 40.0;
const visibleSize = cornerSize / 2.5;

class LassoSelectionForegroundRenderer extends Renderer<List<Offset>> {
final ColorScheme scheme;
Expand Down
4 changes: 2 additions & 2 deletions app/lib/settings/inputs/keyboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import 'package:phosphor_flutter/phosphor_flutter.dart';

import '../../cubits/settings.dart';

class KeyboardBehaviorSettings extends StatelessWidget {
const KeyboardBehaviorSettings({super.key});
class KeyboardInputSettings extends StatelessWidget {
const KeyboardInputSettings({super.key});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions app/lib/settings/inputs/mouse.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import 'package:phosphor_flutter/phosphor_flutter.dart';

import '../../cubits/settings.dart';

class MouseBehaviorSettings extends StatelessWidget {
const MouseBehaviorSettings({super.key});
class MouseInputSettings extends StatelessWidget {
const MouseInputSettings({super.key});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions app/lib/settings/inputs/pen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import 'package:phosphor_flutter/phosphor_flutter.dart';
import '../../api/open.dart';
import '../../cubits/settings.dart';

class PenBehaviorSettings extends StatelessWidget {
const PenBehaviorSettings({super.key});
class PenInputSettings extends StatelessWidget {
const PenInputSettings({super.key});

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions app/lib/settings/inputs/touch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import 'package:phosphor_flutter/phosphor_flutter.dart';
import '../../api/open.dart';
import '../../cubits/settings.dart';

class TouchBehaviorSettings extends StatelessWidget {
const TouchBehaviorSettings({super.key});
class TouchInputSettings extends StatelessWidget {
const TouchInputSettings({super.key});

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 1c5aca2

Please sign in to comment.