fix: restore color picker and top bar clicks
This commit is contained in:
@@ -4921,7 +4921,7 @@ FloatBallAppWM.prototype.showPopupOverlay = function(opts) {
|
||||
} catch(eBackReg) { safeLog(self.L, 'w', "popup back callback register fail: " + String(eBackReg)); }
|
||||
}
|
||||
|
||||
root.setOnKeyListener(new android.view.View.OnKeyListener({
|
||||
root.setOnKeyListener(new JavaAdapter(android.view.View.OnKeyListener, {
|
||||
onKey: function(v, keyCode, event) {
|
||||
try {
|
||||
if (!event) return false;
|
||||
|
||||
@@ -1077,10 +1077,12 @@ FloatBallAppWM.prototype.buildToolAppShell = function(contentView, title, canBac
|
||||
var leftStrip = this.createToolAppEdgeBackStrip(0);
|
||||
var leftLp = new android.widget.FrameLayout.LayoutParams(stripW, -1);
|
||||
leftLp.gravity = android.view.Gravity.START | android.view.Gravity.TOP;
|
||||
leftLp.topMargin = topBarHeight + this.dp(8);
|
||||
root.addView(leftStrip, leftLp);
|
||||
var rightStrip = this.createToolAppEdgeBackStrip(1);
|
||||
var rightLp = new android.widget.FrameLayout.LayoutParams(stripW, -1);
|
||||
rightLp.gravity = android.view.Gravity.END | android.view.Gravity.TOP;
|
||||
rightLp.topMargin = topBarHeight + this.dp(8);
|
||||
root.addView(rightStrip, rightLp);
|
||||
this.state.toolAppInnerBackLeftStrip = leftStrip;
|
||||
this.state.toolAppInnerBackRightStrip = rightStrip;
|
||||
|
||||
Reference in New Issue
Block a user