mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-25 17:17:16 +00:00
Disabled right-clicks on all in-game UI elements
This commit is contained in:
@@ -116,6 +116,7 @@ export class ControlPanel extends LitElement implements Layer {
|
||||
class="${this._isVisible
|
||||
? "w-full text-sm lg:text-m lg:w-72 bg-gray-800/70 p-2 pr-3 lg:p-4 shadow-lg rounded-lg backdrop-blur"
|
||||
: "hidden"}"
|
||||
@contextmenu=${(e) => e.preventDefault()}
|
||||
>
|
||||
<div class="hidden lg:block bg-black/30 text-white mb-4 p-2 rounded">
|
||||
<div class="flex justify-between mb-1">
|
||||
|
||||
Reference in New Issue
Block a user