mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Perf: remove shadow pass on buttons
This commit is contained in:
parent
4a8c1e4bc0
commit
2b879e886f
@ -45,6 +45,7 @@ public class ControlButton extends TextView implements ControlInterface {
|
||||
setTextColor(Color.WHITE);
|
||||
setPadding(4, 4, 4, 4);
|
||||
setTextSize(14); // Nullify the default size setting
|
||||
setOutlineProvider(null); // Disable shadow casting, removing one drawing pass
|
||||
|
||||
//setOnLongClickListener(this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user