Skip to content

Commit

Permalink
fix: floating key not removed from profile #113 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtr126 committed Nov 12, 2024
1 parent 84d9f3b commit a193193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/xtr/keymapper/editor/EditorUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ private void moveResizeDpad(ViewGroup dpadLayout, Dpad dpad, float x, float y) {

private void addKey(KeymapProfileKey key) {
MovableFloatingActionKey floatingKey = new MovableFloatingActionKey(context, key1 -> {
floatingKeysMap.remove(key1);
floatingKeysMap.remove(key1.frameView);
mainView.removeView(key1.frameView);
});

Expand Down

0 comments on commit a193193

Please sign in to comment.